hg: jdk/jdk: 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Thu Mar 28 12:21:09 UTC 2019


Changeset: 9d5c84b0a598
Author:    dfuchs
Date:      2019-03-28 12:16 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/9d5c84b0a598

8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
Summary: When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.
Reviewed-by: chegar, michaelm

! src/java.net.http/share/classes/jdk/internal/net/http/HttpConnection.java
! test/jdk/java/net/httpclient/whitebox/ConnectionPoolTestDriver.java
! test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/ConnectionPoolTest.java



More information about the jdk-changes mailing list