jech / polipo

The Polipo caching HTTP proxy
http://www.pps.jussieu.fr/~jch/software/polipo/
MIT License
1.8k stars 353 forks source link

chunkHighMark ignored when it is a big number #101

Open julyclyde opened 6 years ago

julyclyde commented 6 years ago

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?

jech commented 6 years ago

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

julyclyde commented 6 years ago

I think it would be useful to mention this limitation in document if it doesn’t worth fixing. On Fri, May 11, 2018 at 21:54, Juliusz Chroboczek notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jech/polipo/issues/101#issuecomment-388370496, or mute the thread https://github.com/notifications/unsubscribe-auth/AD9Q99y8Ggb9nniiEv4PTX9LHwfkuPQwks5txZgAgaJpZM4S2Zuh .

jech commented 6 years ago

I think it would be useful to mention this limitation in document if it doesn’t worth fixing.

Polipo is no longer being updated, sorry.