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

   When an origin sends 100 Continue before a compressible response, 
`setup_100_continue_transfer()` sets `client_response_hdr_bytes` to the 
intermediate header size. `setup_server_transfer_to_transform()` then creates 
the tunnel buffer with `hdr_size=0` - body only, but does not reset 
`client_response_hdr_bytes` for non-chunked responses. 
`perform_cache_write_action()` passes the stale value as `skip_bytes` to the 
cache-write consumer, causing `ink_release_assert` in `producer_run` when the 
response body is smaller than the 100 Continue headers.
   
   Fix: Set `cache_write_skip` to `0` when a transform is present, since 
`setup_server_transfer_to_transform()` never writes headers into the tunnel 
buffer.


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