Truncated URLs in log

Dag-Erling Smørgrav des at
Thu Sep 27 13:41:30 CEST 2007

Dag-Erling Smørgrav <des at> writes:
> Trond Michelsen <trondmm-varnish at> writes:
> > Hi. Is it possible to configure varnishncsa so that it doesn't
> > truncate URLs at 256 characters?
> The limitation is not in varnishncsa, but in the shared memory log
> format.  We use only one byte to store the length of the log record.

The attached patch increases the limit to 65535 characters, but breaks
binary compatibility with old log files.

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-misc mailing list