You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Richard Hernandez (Jira)" <ji...@apache.org> on 2019/09/27 20:20:00 UTC
[jira] [Created] (HTTPCLIENT-2017) HttpClient5 double-closes
connections for HTTP/1.1 HEAD requests
Richard Hernandez created HTTPCLIENT-2017:
---------------------------------------------
Summary: HttpClient5 double-closes connections for HTTP/1.1 HEAD requests
Key: HTTPCLIENT-2017
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2017
Project: HttpComponents HttpClient
Issue Type: Bug
Reporter: Richard Hernandez
HttpClient5 consistently fails HEAD requests that have the "Connection: close" header on the response because the runtime always attempts to close the IOSession handling the connection twice. The second close triggers a ConnectionClosedException, causing the request to fail.
I don't have a repro that I can share yet, but I'm working on a fix. I'm letting you know because I don't know if I'll need to make any changes in core (I suspect I will). Can you wait to release beta9 until I have a root cause?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org