hg: jdk/sandbox: http-client-branch: Fix a race condition between Http1BodySubscriber::request and BodyPublisher::subscribe in Http1BodySubscriber and Http1Exchange.

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Tue Feb 27 16:00:32 UTC 2018


Changeset: e5d0c20217a3
Author:    dfuchs
Date:      2018-02-27 15:55 +0000
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/e5d0c20217a3

http-client-branch: Fix a race condition between Http1BodySubscriber::request and BodyPublisher::subscribe in Http1BodySubscriber and Http1Exchange.

! src/java.net.http/share/classes/jdk/internal/net/http/Http1Exchange.java
! src/java.net.http/share/classes/jdk/internal/net/http/Http1Request.java
+ test/jdk/java/net/httpclient/ThrowingPublishers.java
! test/jdk/java/net/httpclient/http2/server/Http2TestServer.java



More information about the jdk-sandbox-changes mailing list