Truncated URLs in log

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


Dag-Erling Smørgrav <des at linpro.no> writes:
> Dag-Erling Smørgrav <des at linpro.no> writes:
> > Trond Michelsen <trondmm-varnish at crusaders.no> 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.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: varnish-shmlog-65535.diff
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070927/22c4e97f/attachment-0001.ksh>


More information about the varnish-misc mailing list