You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Sven Köhler <sk...@upb.de> on 2004/02/06 18:52:36 UTC

How to diable Keep-Alive?

Hi,

i want to avoid, that POST-Requests reuse connections from the pool. I'm 
using the MultiThreadedHttpConnectionManager because i use one 
HttpClient-Object from different Threads.
By avoiding that POST-Request use already open HTTP-connections, i want 
to avoid problems with stale connections since i use InputStreams for 
POST-requests.

Is this possibility?

As far as i understood Ortwin in de.comp.lang.java, stale connections 
and POST-Requests and InputStreams lead to problems since a InputStream 
cannot be rewound. How does HttpClient currently try to work around that?


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org