[PATCH] Streaming and Content-Length
Nils Goroll
slink at schokola.de
Thu Jun 26 21:47:46 CEST 2014
Hi,
here's the first set of patches to address #1506. These do not cover
Range-Requests yet, but these should be easy to address once we got this first
set in.
PATCH 1/4 is a prerequisite for the next patch. It contains what is required to
test for premature shutdown of client connections by Varnish, handling for
bodies longer than the available buffer in varnishtest plus a reduction of the
number of read calls.
PATCH 2/4 is the actual first fix for #1506
PATCH 3/4 adds an assertion to VBO_DerefBusyObj which I found helpful during
testing. *pbo = NULL is delayed until after the test for the case pbo = &oc->busyobj
PATCH 4/4 addresses races I have observed with objcore->busyobj bering set to
NULL while being accessed
Reviews appreciated
Thanks, Nils
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-http_rxchar-and-http_swallow_body-improvements-some-.patch
Type: text/x-patch
Size: 4878 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140626/e4b8876c/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Announce-the-Content-Length-from-the-backend-to-clie.patch
Type: text/x-patch
Size: 6076 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140626/e4b8876c/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-If-the-busy-object-has-a-fetch_objcore-the-latter-sh.patch
Type: text/x-patch
Size: 1383 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140626/e4b8876c/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Hold-a-refernce-to-the-busy-object-while-accessing-i.patch
Type: text/x-patch
Size: 4713 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140626/e4b8876c/attachment-0007.bin>
More information about the varnish-dev
mailing list