TooTallNate/node-proxy-agent

very slow and easily throw timeout

ash0080 opened this issue · 0 comments

const agent1  = tunnel.httpOverHttp({
                                       proxy: {
                                         host: 'xxx.xxx.xxx.xxx',
                                         port: xxxx
                                       }
                                     })
  const agent2  = new ProxyAgent(`http://xxx.xxx.xxx.xxx:xxxx`)
  const result = await check(product, cookie, agent2)

compare with tunnel

using agent2 fails and throw timeout, use agent1 works well, I am using 'got' for now, will test with other http-client module when I get some time.