hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Trouble shooting informational status
Date Wed, 19 Mar 2008 19:53:56 GMT

On Wed, 2008-03-19 at 14:31 +0100, Thierry Boileau wrote:
> Hello all,
> 
> After some tests, I noticed that the HttpClient hangs in the case the
> server sends a response with informational status and at the same time
> does not support persistent connections. I recognize that this case is
> quite unusual or unpractical however it leads to block the client.
> 
> I wonder if the behaviour of the
> org.apache.commons.httpclient.HttpMethodBase#readResponse method could
> not be improved by just adding a call to the "shouldCloseConnection"
> method after checking sthe status code.
>            if ((status >= 100) && (status < 200)) {
>                if(shouldCloseConnection(conn)){
>                    break;
>                }
> 
> best regards,
> Thierry Boileau
> 

Thierry,

We no longer fix all but most serious bugs in the 3.x codeline. Please
test against the latest 4.0 release or better the SVN snapshot.

Oleg


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


---------------------------------------------------------------------
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