With this commit we remove trailing CRLF for responses returned from the cache and stored with Transfer-Encoding: chunked. Need to test that we do not break message framing and really remove unnecessary CRLF.
[x] General test verifying chunked encoding, including all the extensions allowed by the RFC
[x] Test that Tempesta FW blocks responses with invalid encoding
[x] Test framing and especially trailing part of the message for proxied and cached responses.
[x] Test trailing headers
With https://github.com/tempesta-tech/tempesta/pull/1418 we might remove Chunked-Encoding from cached responses at all, so the test issue probably must be adjusted. @const-t could you please update the issue after the PR?
With this commit we remove trailing CRLF for responses returned from the cache and stored with
Transfer-Encoding: chunked
. Need to test that we do not break message framing and really remove unnecessary CRLF.With https://github.com/tempesta-tech/tempesta/pull/1418 we might remove Chunked-Encoding from cached responses at all, so the test issue probably must be adjusted. @const-t could you please update the issue after the PR?