How Proxy server works with tcp/http connections?
- by Vivek
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 my requests and responses work?
Means 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. Wright?
While using websockets we are upgrading our http connection to tcp. At this time what is happening @ 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.