Truncated URLs in log

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


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.

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



More information about the varnish-misc mailing list