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

Tollef Fog Heen tfheen at varnish-software.com
Wed Apr 10 12:18:40 CEST 2013

]] Poul-Henning Kamp

> In message <CANTn4cq0uCpwzJf=198QJL78rS7eX0jkP+YhGNwxE8LYWyg9mg at mail.gmail.com>, Martin Blix Grydeland wr
> ites:
> >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.
> Are there real world examples of non-insane uses of headers longer
> than 127 characters ?

For the contents of headers?  Sure, cookies spring to mind.  The the
names of header fields?  Not that I know of-

Tollef Fog Heen
Technical lead | Varnish Software AS
t: +47 21 98 92 64
We Make Websites Fly!

More information about the varnish-dev mailing list