Re: RFR: 8266761: AssertionError in sun.net.httpserver.ServerImpl.responseCompleted [v2]

2021-05-10 Thread Daniel Fuchs
> Hi, > > Please find here a fix to prevent an assertion error from firing in the > com.sun.net.httpserver. > > The issue occurs systematically when all of these conditions are met: > > 1. System assertions are enabled > 2. The handler doesn't read or close the request input stream > 3. The han

Re: RFR: 8266761: AssertionError in sun.net.httpserver.ServerImpl.responseCompleted [v3]

2021-05-10 Thread Daniel Fuchs
> Hi, > > Please find here a fix to prevent an assertion error from firing in the > com.sun.net.httpserver. > > The issue occurs systematically when all of these conditions are met: > > 1. System assertions are enabled > 2. The handler doesn't read or close the request input stream > 3. The han