]> git.ipfire.org Git - thirdparty/squid.git/commit - src/Store.h
When a RESPMOD service aborts, mark the body it produced as truncated.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 24 Aug 2015 21:07:31 +0000 (15:07 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 24 Aug 2015 21:07:31 +0000 (15:07 -0600)
commit7224ca5ac5a4eda002c30089f9a461069aeb122d
tree8541df282e7ac3072a3c84c6c2339414b318d6a0
parent68bdae93cefdd86ee300179b6a40dd2643117d3b
When a RESPMOD service aborts, mark the body it produced as truncated.

Without these changes, the recipient of the truncated body often
cannot tell that the body was actually truncated (e.g., when Squid
uses chunked encoding for body delivery). Lying about truncation
may result in rather serious user-level problems.
src/Store.h
src/client_side.cc
src/client_side_reply.cc
src/clients/Client.cc
src/clients/Client.h
src/servers/Http1Server.cc
src/store.cc