RFR: 6968351: httpserver clashes with delayed TCP ACKs for low Content-Length [v2]

robert engels duke at openjdk.org
Fri Apr 19 17:38:13 UTC 2024


On Fri, 19 Apr 2024 17:27:16 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> Yes it is a bug. But even with the bug the code used to work, and now it doesn't. Users might have similar buggy code that will stop working when they get this fix. We need to post a release note so that they know what to expect.

Are you sure it worked? I think the connection would be "dead" - the client would see the last response - but if it tried to send another request on the connection it would hang - because WriteFinished event would never have been emitted - and so the exchange/connection would never be read for another request.

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

PR Comment: https://git.openjdk.org/jdk/pull/18667#issuecomment-2067004026


More information about the net-dev mailing list