Hi,

Please find below a patch for:

8216974: HttpConnection not returned to the pool after 204 response
https://bugs.openjdk.java.net/browse/JDK-8216974

webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8216974/webrev.00/

While investigating some other bug I noticed that HTTP/1.1
connections where not returned to the pool when the server
replied with correct 204 response. This is because the
HttpResponse is synthesized directly by the MultiExchange on
reception of the response headers. The MultiExchange should
notify the ExchangeImpl that no body will be coming so that
the ExchangeImpl can take appropriate actions.

best regards,

-- daniel

Reply via email to