bryancall opened a new pull request, #13960: URL: https://github.com/apache/trafficserver/pull/13960
With `proxy.config.http2.stream_priority_enabled` set to 1, forwarding any request with a body to an HTTP/2 origin aborts traffic_server. `Http2Stream::send_body` hands the stream to the priority scheduler, which needs the stream's node in the dependency tree. Only streams on an inbound connection, from a client to ATS, are given one, so the release assert on the missing node fires on the first outbound request body. Priorities order the responses ATS sends to a client and carry no meaning for a request ATS sends to an origin, so an outbound stream now sends its body the same way it does with priorities off. The setting defaults to 0, which is why this has gone unnoticed. The fix is kept small so it can go to 10.2.x; removing the RFC 7540 priority scheme, which RFC 9113 deprecates, is better done as its own change. The HTTP/2 origin replay test gains a variant with priorities enabled. It sends ten POSTs and a 300000 byte PUT, larger than the initial flow control window, and checks the request body bytes ATS wrote to the origin for each one. Without the fix the variant aborts ATS. -- 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]
