Hi all

When using the Apache Synapse HTTP transport built over HttpCore+NIO with JBoss 4.2.2 based Web service, I can see that typically JBoss terminates a keep-alive connection after 20 seconds, but when under load, it closes some connections (about 1 or 2 per 100) in around 4ms or 5ms etc..

When using HTTP 1.1, is the server expected to adhere to any "Keep-Alive: xxx" headers sent by a client? i.e. Can I ask the server to not close keep alive connections pre-maturely and can I expect adherence from any server?

If the remote party does close a keep-alive session due to an internal decision, while the remote client is still reading the response, is this still valid from the server point of view? i.e. as soon as the server is done writing its response to the socket, can it close the TCP connection?

thanks
asankha

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to