Truncated URLs in log

Trond Michelsen trondmm-varnish at crusaders.no
Fri Sep 28 11:32:17 CEST 2007


On Thu, Sep 27, 2007 at 01:42:16PM +0200, Dag-Erling Smørgrav wrote:
> 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.

Thank you. That was quick :)

BTW: Is it too late for this to be included with 1.1.2?

-- 
Trond Michelsen



More information about the varnish-misc mailing list