[squid-dev] [PATCH] String::append assertion

William Lima william.lima at hscbrasil.com.br
Wed Feb 3 17:50:35 UTC 2016


Amos,

Is it enough just to change the ESICustomParser?

Thanks in advance,

William

----- Mensagem original -----
De: "Amos Jeffries" <squid3 at treenet.co.nz>
Para: squid-dev at lists.squid-cache.org
Enviadas: Terça-feira, 2 de Fevereiro de 2016 4:12:57
Assunto: Re: [squid-dev] String::append assertion

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

_______________________________________________
squid-dev mailing list
squid-dev at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ESI_SBuf.patch
Type: text/x-patch
Size: 1217 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160203/a5195c3a/attachment.bin>


More information about the squid-dev mailing list