Closed ash0080 closed 4 years ago
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
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.
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.