[squid-users] reply body max size: crash or not?

From: Tianyin Xu <tixu_at_cs.ucsd.edu>
Date: Wed, 28 Mar 2012 22:21:04 -0700

Hi, all,

I'm new to Squid proxy server, and I'm learning to do admin jobs
related to Squid.

I have a question on the "reply_body_max_size" directive. From the
manual, I notice that:

WARNING: A maximum size smaller than the size of squid's error message
         will cause an infinite loop and crash squid. Ensure that the smallest
         non-zero value you use is greater that the maximum header size plus
         the size of your largest error page.

To see the consequence of setting a too small configuration values, I set

reply_body_max_size 1 bytes

in the squid.conf, start squid, and then use my browser to access
webpage like Google and Facebook. But it seems that there's no
infinite loop or system crash. The system behavior is really correct
that reject all these access. So is this an already fixed problem (the
manual is out-of-date) so that I don't need to worry? Or it's still
possible to cause the crash?

Thanks a lot,
Tianyin

--
Tianyin XU,
http://cseweb.ucsd.edu/~tixu/
Received on Thu Mar 29 2012 - 05:21:11 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 29 2012 - 12:00:05 MDT