[PATCH 2/4] Improve client ws overflow handling.

Dridi Boukelmoune dridi at varni.sh
Mon Aug 10 15:14:27 CEST 2015


On Fri, Jul 31, 2015 at 9:48 AM, Lasse Karstensen
<lkarsten at varnish-software.com> wrote:
> ---
>         vdp = WS_Alloc(req->ws, sizeof *vdp);
> -       AN(vdp);
> +       if (vdp == NULL) {
> +               WS_MarkOverflow(req->ws);
> +               return;
> +       }

I don't think you need to call WS_MarkOverflow above, WS_Alloc already does it



More information about the varnish-dev mailing list