Cache_req_body patch for bug #1664

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Mar 10 21:58:43 CET 2015


--------
In message <CAL6a+5jsxmy-2wNv+VGVG59dPMbHYC5=wocyztDx6LLPHm=zfg at mail.gmail.com>
, Arianna Aondio writes:

>Hi everyone,
>before Hamburg VDD I had sent an email regarding req.body handling and
>user-accesible functions.
>I attach a patch for bug #1664: std.cache_req_body(BYTES size)doesn't have
>errors handling on the provided size limitation.
>
>The proposed solution let Varnish either buffer the whole request body or
>fail the request.
>
>If this patch is ok, I can then start digging into user-accesible functions.

Looks ok, (I've not tested it, I trust you have.)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list