hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Response already committed error when sending error responses on a load test
Date Mon, 15 Oct 2007 11:30:31 GMT
On Mon, 2007-10-15 at 08:56 +0200, Ortwin Gl├╝ck wrote:
> 
> > The 'connection: close' header is added by the ResponseConnControl
> > protocol interceptor [1]. In many cases 500 status code represents a
> > fatal error, which may leave the connection in an inconsistent state.
> 
> This is definitely wrong behaviour. A 500 status code does not affect
> consistency of a connection.
> 
> Odi
> 

Hi Odi

Of course, the status code itself does not affect consistency of a
connection, but the exception that leads to it often does.

Anyways, I do agree that dropping connections indiscriminately on all
500 responses is probably too much.

Oleg


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


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


Mime
View raw message