jech / polipo

The Polipo caching HTTP proxy

Home Page:http://www.pps.jussieu.fr/~jch/software/polipo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chunkHighMark ignored when it is a big number

julyclyde opened this issue · comments

I'm trying to let polipo make use of large memory, so I increased chunkHighMark to 2G-8K, it works.
If I set it to 2G+1-8K, it would be ignored and set to default value 25165824.

Is this limit desired? or by accident?

That's expected. There are many places in Polipo where 32-bit overflow is not handled correctly.