On Fri, 15 Oct 2021 15:11:06 GMT, Michael McMahon <micha...@openjdk.org> wrote:

> Just wondering what actually happens if you encounter this bug? I guess that 
> the post will fail somehow because it has been given a closed connection. If 
> so, would it be possible to write the test to simulate that behavior?
> 
> So, say you initially do a HTTP request that succeeds (creating a cached 
> connection). Then, somehow close the connection independent of the keep alive 
> cache. Then attempt the streaming post which will either succeed or fail 
> depending whether the bug is fixed or not.

We discussed this off line, and it doesn't seem to be feasible. I'm happy with 
the fix as is

-------------

PR: https://git.openjdk.java.net/jdk/pull/5964

Reply via email to