[squid-dev] String::append assertion
Amos Jeffries
squid3 at treenet.co.nz
Tue Feb 2 06:12:57 UTC 2016
On 2/02/2016 8:04 a.m., William Lima wrote:
> Hi all,
>
> I have an assertion (1) of String::append called from ESICustomParser::parse (2). Is 64K too small in some scenarios?
>
> 1 - String.cc:204: "len_ + len < 65536"
> 2 - CustomParser.cc:85
>
Exactly so. If the expanded ESI template produces an object >= 64KB in
size it will do this.
We now have SBuf storage type to fix these issues. But ESI has not yet
been converted to using it. Any assistance or patches are welcome.
Amos
More information about the squid-dev
mailing list