> Who must close the session in HTTP proto ? The server or the client ?
> Reason is that I have TWSocketserver, with custom made protocol and
> there could be a HTTP client connect to it. Then I will send a HTTP
> redirect (302) to it. This is no problem but should I close session in
> the server or not ?

There are two cases: persintant connections or not. Simple case: non persitant 
connections: the
server close the connection when it has sent the last byte of the reply. Since 
you have a redirect,
I think you can simply close the connection in anycase without problem.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to