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

   This assert failed:
   - Fatal: src/proxy/http/HttpTunnel.cc:1005: failed assertion `c->skip_bytes 
<= c->buffer_reader->read_avail()`
   
   It was triggered when CACHE_WRITE read from a dechunked buffer while a 
TRANSFORM consumer was present (header not in that buffer)
   
   I think the root cause is this:
   - HttpSM passed client_response_hdr_bytes as skip_bytes to CACHE_WRITE 
unconditionally
   - In DECHUNK_CONTENT or PASSTHRU_CHUNKED_CONTENT with a transform consumer, 
header bytes aren’t copied to the dechunked buffer, so 
c->buffer_reader->read_avail() < skip_bytes and the tunnel assert fired


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