1 http://bazaar.launchpad.net/~squid/squid/3-trunk/revision/13144
3 Committer: Amos Jeffries
4 Date: 2013-11-23 01:28:52 UTC
5 Revision ID: squid3@treenet.co.nz-20131123012852-zpe8hamjrs5vy42w
7 http://bugs.squid-cache.org/show_bug.cgi?id=3970
8 Bug 3970: max_filedescriptors disabled due to missing setrlimit
10 === modified file 'configure.ac'
11 --- configure.ac 2013-11-16 13:19:28 +0000
12 +++ configure.ac 2013-11-23 01:28:52 +0000
18 dnl --with-maxfd present for compatibility with Squid-2.
19 dnl undocumented in ./configure --help to encourage using the Squid-3 directive
24 squid_filedescriptors_num=$withval
25 + AC_MSG_NOTICE([forcing default of $squid_filedescriptors_num filedescriptors (user-forced)])
28 AC_MSG_ERROR(--with-maxfd expects a numeric argument)
32 squid_filedescriptors_num=$withval
33 + AC_MSG_NOTICE([forcing default of $squid_filedescriptors_num filedescriptors (user-forced)])
36 AC_MSG_ERROR(--with-filedescriptors expects a numeric argument)
37 @@ -2564,10 +2565,9 @@
40 SQUID_CHECK_DEFAULT_FD_SETSIZE
41 -if test "x$squid_filedescriptors_num" = "x"; then
44 - AC_MSG_NOTICE([forcing use of $squid_filedescriptors_num filedescriptors (user-forced)])
46 +if test "x$squid_filedescriptors_num" != "x"; then
47 + AC_MSG_NOTICE([Default number of fieldescriptors: $squid_filedescriptors_num])
49 if test "$squid_filedescriptors_num" -lt 512 ; then
50 AC_MSG_WARN([$squid_filedescriptors_num may not be enough filedescriptors if your])