Fix handling of tiny invalid responses in v4

Alex Rousskov <[email protected]>
Newsgroups gmane.comp.web.squid.devel
Message-ID <[email protected]>
Hi Amos,

    Do you plan to commit the following v5/master fix to v4? If that is
your plan, then what is the current ETA and do you need help with
porting or testing these changes to/in v4?


Thank you,

Alex.


> https://github.com/squid-cache/squid/commit/26e3e64019d5d8adc3f16ed2a0547e828b4007f5

>  Fix handling of tiny invalid responses (#422)
> 
> Squid converted any invalid response shorter than 4 bytes into an
> invalid "HTTP/1.1 0 Init" response (with those received characters and a
> CRLFCRLF suffix as a body). In some cases (e.g., with ICAP RESPMOD), the
> resulting body was not sent to the client at all.
> 
> Now Squid handles such responses the same way it handles any non-HTTP/1
> (and non-ICY) response, converting it into a valid HTTP/200 response
> with an X-Transformed-From:HTTP/0.9 header and received bytes as
> a message body.
_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.