Since I am a beginner in the world of internet/networking, I always mess up with these kinds of doubts in my head while programming ;) .. My doubts are,
While working behind a proxy, how do my requests and responses work? Does it mean that my request headers and data will first reach to Proxy server-> then proxy server sends it(same headers and data) to corresponding server. And server responses to it with a response header and body to the proxy server->then proxy server sends it to my computer. Right?
While using websockets we are upgrading our HTTP connection to TCP. At this time what is happening at the Proxy server? Does the proxyserver also upgrades its connection to plain TCP?
After opening such TCP connections, does the proxy server able to track/log those socket messsages?
Thanks for any answers or helpful links in advance.
Right.
There is no such thing as 'upgrading HTTP to TCP'. An HTTP connection already is a TCP connection. The question is therefore meaningless.
It is able to trace the connection, and it can see all the data being exchanged in both directions.
I'm not sure what this means. After processing the CONNECT command, a proxy just copies bytes in both directions. Possibly this is 'transparent' in the terms of your question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With