]> git.ipfire.org Git - thirdparty/squid.git/commit
When a RESPMOD service aborts, mark the body it produced as truncated.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 29 Aug 2015 20:11:19 +0000 (13:11 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 29 Aug 2015 20:11:19 +0000 (13:11 -0700)
commit150fc12b255af4da80bd188076f8d644eaadc26d
treeeae56973d1c389e2b0f570efa18aabde92e53d73
parentfd89e819c95f91ac13cc2a098072731f9313f893
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/HttpServer.cc
src/store.cc