Does your proxy support HTTP/1.1?
if it only supports 1.0, then it _must_ act as a tunnel, not as a
proxy (per the rfc). If it handles 1.1 as 1.0, then it'll keep the connection
open waiting for the server to say "close it", but the server is waiting for
other requests. so the proxy hangs...

sniff (use tcpdump for example) traffic on both sides of the proxy, and see
what the proxy does (does it relay the response or does it wait for things
that don't come until timeout?)


regards,

At 17:50 13/04/01 +0530, Kondal Rao wrote:
>Hello world,
>   I'm new to this mailing list. Nice meeting you all.
>
>   Actually I'm writing a small proxy server. Every thing till today 
> worked fine.
>But today I received a response code 302. I' couldn't understand rfc properly.
>Let me tell about my proxy.
>
>   Its basically a user authentication proxy server that doesn't provide 
> caching
>of web documents. It only authenticates users and if successful forwards their
>requests to web servers.
>
>   So after the user authenticated properly, I forwarded the request to 
> the web
>server. Then the web server gave a response "HTTP/1.1 302 Redirected
>temporarily" which i forwared to the client. I was expecting the client to 
>make
>a new request to new location. But it didn't do so and was waiting for some
>thing. I think after some time out the browser displayed "Object moved \n The
>new location is here".
>
>   Well i'm using IE 5.5 and i connected to google.com.
>
>   Is it that the browser should make a new connection for the new redirected
>location or proxy should connect to new location without forwarding the 
>response
>comming from the web server to the browser? rfc says that the redirection 
>should
>be reported to the user.
>
>   Please help me on this problem.
>
>   Thanks in advance.
>
>regards
>kondal Rao K.
>[EMAIL PROTECTED]
>
>-
>[To unsubscribe, send mail to [EMAIL PROTECTED] with
>"unsubscribe firewalls" in the body of the message.]

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to