[PATCH 5/8] Return 503 when Vary-headers references header names more than 127 (out limit) characters long.

Martin Blix Grydeland martin at varnish-software.com
Mon Mar 18 18:07:27 CET 2013


True, but that isn't the only place where that is used as an unsigned char
(e.g. http_findhdr). So Varnish header names are limited to signed char I
believe.

-Martin

On 18 March 2013 18:02, Rogier 'DocWilco' Mulhuijzen <drwilco at drwilco.net>wrote:

> If you cast the 1st char to unsigned when assigning to len in VRY_Match,
> you can get up to 255.
>
>>
>> _______________________________________________
>> varnish-dev mailing list
>> varnish-dev at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>>
>>


-- 
<http://varnish-software.com>*Martin Blix Grydeland*
Senior Developer | Varnish Software AS
Cell: +47 21 98 92 60
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20130318/b4b6a01e/attachment.html>


More information about the varnish-dev mailing list