Closed JuFil closed 4 years ago
When using HTTP keep-alive, one must use the same instance of the Agent class for multiple requests. Therefore, Agent must be exported. Together with the changes on socks5-client, this enables using HTTP keep-alive when using a SOCKS5 proxy and TLS.
Sorry this took so long.
When using HTTP keep-alive, one must use the same instance of the Agent class for multiple requests. Therefore, Agent must be exported. Together with the changes on socks5-client, this enables using HTTP keep-alive when using a SOCKS5 proxy and TLS.