Truncated URLs in log

Dag-Erling Smørgrav des at
Thu Sep 27 13:42:16 CEST 2007

Dag-Erling Smørgrav <des at> writes:
> 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.

Once more, with patch.

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: varnish-shmlog-65535.diff
URL: <>

More information about the varnish-misc mailing list