maskit commented on PR #12257: URL: https://github.com/apache/trafficserver/pull/12257#issuecomment-2913342273
> The spec[*1] says that an endpoint should keep the stream in the half-closed (local) state after sending END_STREAM flag and wait to receive END_STREAM flag from the peer before closing it. That's not true. Server can actively close the stream without waiting for END_STREAM if the server knows that receiving the rest of request is unnecessary. https://datatracker.ietf.org/doc/html/rfc9113#section-8.1-11 There is a way to close unnecessary streams cleanly. https://datatracker.ietf.org/doc/html/rfc9113#section-5.1-7.14.5 https://datatracker.ietf.org/doc/html/rfc9113#section-5.1-7.14.6 We should not retain resources to be used unnecessarily. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
