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?
- And most importantly, Is the proxy server transparent or acting like an original server infront of a client?
Thanks for any answers or helpful links in advance.