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: Connection:close header and HttpClient behaviour
Date Wed, 30 Dec 2015 09:53:33 GMT
On Tue, 2015-12-29 at 17:34 +0100, Philippe Mouawad wrote:
> Hello,
> We have a bug report in JMeter :
> https://bz.apache.org/bugzilla/show_bug.cgi?id=58583
> 
> To summarize, setting "Connection: close" header in the requests does not
> make HttpClient close the connection on the client side.
> 
> It seems to be a violation of RFC 2616:
> http://tools.ietf.org/html/rfc2616#page-45
> http://tools.ietf.org/html/rfc2616#section-14.10
> 
> 
> And RFC7230:
> http://tools.ietf.org/html/rfc7230#section-6.1
> 
> 
> I am not sure what to think about this.
> 

Yes, it is a bug. It has been fixed in the trunk

https://github.com/apache/httpcore/commit/7f6dc0fdbe1b84e43b78e86229917881f0e2252a

Generally the server is expected to send 'connection: close' in response
to 'connection: close' in the request.

Oleg


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