hg: jdk-updates/jdk11u-dev: 8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends

sgehwolf at redhat.com sgehwolf at redhat.com
Thu Oct 24 12:12:43 UTC 2019


Changeset: d1b3339f6a2a
Author:    dfuchs
Date:      2019-03-28 12:16 +0000
URL:       https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/d1b3339f6a2a

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-updates-changes mailing list