Skip to content

Concurrent requests #21

Description

@wahid

When doing concurrent requests the first proxy used can never be changed.

        var myip = "https://api.ipify.org?format=json";

        var res = await request({ 
            method: 'GET',
            uri: myip,
            agentClass: Agent,
            agentOptions: {
                socksHost: proxy.split(":")[0],
                socksPort: proxy.split(":")[1]
            },
            rejectUnauthorized: false
        });

This is giving me the same ip for every request while i change the proxy on every request.

179.209.175.59:28061
{"ip":"179.209.175.59"}
189.122.40.220:58577
{"ip":"179.209.175.59"}
189.6.142.94:16943
{"ip":"179.209.175.59"}
187.39.53.6:65000
{"ip":"179.209.175.59"}
177.142.117.96:46489

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions