How Proxy server works with tcp/http connections?
Posted
by
Vivek
on Stack Overflow
See other posts from Stack Overflow
or by Vivek
Published on 2012-04-16T11:17:07Z
Indexed on
2012/04/16
11:29 UTC
Read the original article
Hit count: 185
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.
© Stack Overflow or respective owner