Truncated URLs in log

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Sep 28 10:36:27 CEST 2007


In message <ujrlkasmk95.fsf at false.linpro.no>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rg
rav?= 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.

If this is a problem, we should just change the binary shmlog format,
it's not a big issue.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list