I'm trying to use this library as a transparent proxy that connects to a proxy in another server but keep receiving a 502 bad request. The connection arrives at the server but it is not routed to the identifier because it gets the identifier from the host.
I`m using curl for testing purposes just like this:
I'm trying to use this library as a transparent proxy that connects to a proxy in another server but keep receiving a 502 bad request. The connection arrives at the server but it is not routed to the identifier because it gets the identifier from the host.
I`m using curl for testing purposes just like this:
curl -v https://google.com -x identifier.server:port
The response is:
curl: (56) Received HTTP code 502 from proxy after CONNECT