-
Bug
-
Resolution: Fixed
-
P4
-
17
-
b20
jdk.internal.net.http.HttpConnection has an internal checkOpen() method which does a socket channel read. This method is expected to be called only when a non-TLS HTTP/1.1 connection is being picked out from the connection pool and before handing it out to use. The checkOpen() method as the javadoc states is an expensive method, given that its does a channel read operation.
Right now this method is even being called when a HTTP connection is being returned back to the pool. This is unnecessary and should be avoided.
Right now this method is even being called when a HTTP connection is being returned back to the pool. This is unnecessary and should be avoided.
- links to
-
Commit openjdk/jdk/9f2a4fad
-
Review(master) openjdk/jdk/18840