hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Berlin" <sber...@gmail.com>
Subject Re: ClientMultiThreaded Example
Date Sun, 06 Apr 2008 16:09:39 GMT
> > I think i read somewhere that the connection is returned back to the pool when the
input stream is closed. Now if the server is down, i dont get a response input stream, so
does the httpget.abort release the connection back to the pool?
>
> Yes, it does.

I think this was a bug in the last released HttpClient alpha (in that
it didn't explicitly release the connection back).  The latest
snapshot from people.apache.org fixes it.  (See
https://issues.apache.org/jira/browse/HTTPCLIENT-759 , or depending on
the timing of the abort
alsohttps://issues.apache.org/jira/browse/HTTPCLIENT-760 ).

Sam

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message