RFR[9] 8164625: Pooled HttpConnection should be removed during close

Michael McMahon michael.x.mcmahon at oracle.com
Thu Feb 23 17:31:20 UTC 2017


Hi Pavel

The source change looks fine. I'm not sure how the test works though.
How does it check that the connection is not retained?

Michael.

On 23/02/2017, 14:02, Pavel Rappo wrote:
> Hello,
>
> Could you please review the following change for [1]?
>
>    http://cr.openjdk.java.net/~prappo/8164625/webrev.00/
>
> This patch addresses the root cause of the problem. Namely, HTTP connections
> used by requests made on behalf of the WebSocket (i.e. Opening Handshake) are no
> longer returned to the connection pool. The provided test reproduces the
> scenario described in the related issue.
>
> Thanks,
> -Pavel
>
> --------------------------------------------------------------------------------
> [1] https://bugs.openjdk.java.net/browse/JDK-8164625
>


More information about the net-dev mailing list