RFR: 8376479: Http3 test server thread deadlock in ThrowingPublishersInRequest [v2]

Daniel Fuchs dfuchs at openjdk.org
Wed Jan 28 15:03:48 UTC 2026


On Wed, 28 Jan 2026 13:18:13 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> Hmmm.... and if we set closed=true maybe ask the underlying stream to stop sending... and maybe reset the sending part.
>
> I guess we should also throw a `ClosedByInterruptException` then. This way we will mimic the SocketChannel behavior. Note that the InputStream spec does not require closing the stream on interrupt.

That would require more surgery :-) OK - so if you think we don't need to terminally close the stream I'm not opposed to that. The caller will get the exception and it's likely that it will cause the exchange to be terminated at a higher level anyway. This is our test server - its only purpose is to serve our tests.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29448#discussion_r2737048128


More information about the net-dev mailing list