bneradt opened a new pull request, #14017:
URL: https://github.com/apache/trafficserver/pull/14017

   A request stream whose FIN arrived after its response had been sent was
   never deleted. The write-complete path skipped it because the read side
   was still open, and the read-complete path could not delete any
   bidirectional stream because is_writable() was always true for them.
   Each such stream stayed allocated until the connection closed, so one
   client could grow a connection's stream list, which is also scanned
   linearly on every lookup, without bound. A related problem hid this: a
   request whose header block finished decoding after its frame was read,
   as happens when the headers arrive without a FIN, was never handed to
   HttpSM until more bytes or the FIN arrived.
   
   This patch makes is_writable() report whether the stream's FIN is still
   unsent, so whichever side completes last deletes the stream. It also
   has the transaction signal its reader when a header block finishes
   decoding, even if that READ_READY reads no new bytes.
   
   A new urtest uses an aioquic client to send requests that finish the
   stream with the headers and after the response. It checks, using new
   quic_stream debug logs for stream creation and deletion, that every
   request stream is deleted while the connection is still open.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to