http-client-branch: review comment: set connected for immediate non-blocking connect
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/PlainHttpConnection.java Wed Nov 29 14:27:12 2017 +0300
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/PlainHttpConnection.java Wed Nov 29 16:34:52 2017 +0000
@@ -115,6 +115,7 @@
}
if (finished) {
debug.log(Level.DEBUG, "connect finished without blocking");
+ connected = true;
cf.complete(null);
} else {
debug.log(Level.DEBUG, "registering connect event");