HTTP 400 returned for a HTTP request over 28 headers?

Kristian Lyngstol kristian at varnish-software.com
Tue Aug 31 16:18:59 CEST 2010


On Tue, Aug 31, 2010 at 09:52:05AM -0400, Anderson Brown wrote:
> Thanks Per!   Looking at
> http://varnish-cache.org/docs/trunk/reference/varnishd.html; it seems I just
> need to add this in /etc/sysconfig/varnish:
> 
> DAEMON_OPTS="-a :7081 \
>              -T localhost:7082 \
>              -f /etc/varnish/default.vcl \
>              -p http_headers=128 \                 ### NOT WORK?
>              -p cli_buffer=8192 \                  ### WORKS OK
>              -u varnish -g varnish \
>              -s file,/var/lib/varnish/varnish_storage.bin,1G"

You aren't actually keeping the ### NOT WORK? etc in the file, I hope?
That'd break it pretty easily.

Easiest way to test: . /etc/sysconfig/varnish; varnishd ${DAEMON_OPTS}

Should give you a decent error message.

- Kristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100831/e4ee7ed1/attachment-0003.pgp>


More information about the varnish-dev mailing list