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-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org