hg: jdk/sandbox: 8216974: HttpConnection not returned to the pool after 204 response

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Jan 15 11:45:24 UTC 2019


Changeset: 54aa3ea04fe8
Author:    dfuchs
Date:      2019-01-15 11:34 +0000
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/54aa3ea04fe8

8216974: HttpConnection not returned to the pool after 204 response
Summary: MultiExchange now call nullBody() on Exchange after receiving 204
Reviewed-by: chegar

! src/java.net.http/share/classes/jdk/internal/net/http/Exchange.java
! src/java.net.http/share/classes/jdk/internal/net/http/ExchangeImpl.java
! src/java.net.http/share/classes/jdk/internal/net/http/Http1Exchange.java
! src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java
! src/java.net.http/share/classes/jdk/internal/net/http/HttpConnection.java
! src/java.net.http/share/classes/jdk/internal/net/http/MultiExchange.java
! test/jdk/java/net/httpclient/Response204.java



More information about the jdk-sandbox-changes mailing list