bneradt opened a new pull request, #12999: URL: https://github.com/apache/trafficserver/pull/12999
The http2_rst_stream AuTest exposed a race on multiplexed origin connects. If the client aborted while ATS was still queued on a shared HTTP/2 origin handshake, HttpSM marked the transaction aborted but stayed in the ConnectingEntry queue until later cleanup. A handshake that finished in that window could still dispatch CONNECT_EVENT_TXN back into the dead transaction, forwarding the request upstream and producing an unexpected origin-side RST_STREAM. Cancel the pending shared origin connect as soon as state_watch_for_client_abort() records the client abort. That removes the HttpSM from the ConnectingEntry queue before the handshake callback can revive it, making the abort path deterministic and keeping the aborted request from reaching origin. -- 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]
