]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/squid/squid-3.5.28-fix-max-file-descriptors.patch
b740b6104ef66b393eb11f57d0a4918d0392329b
[ipfire-2.x.git] / src / patches / squid / squid-3.5.28-fix-max-file-descriptors.patch
1 --- configure.ac.~ Wed Apr 20 14:26:07 2016
2 +++ configure.ac Fri Apr 22 17:20:46 2016
3 @@ -3135,6 +3135,9 @@
4 ;;
5 esac
6
7 +SQUID_CHECK_DEFAULT_FD_SETSIZE
8 +SQUID_CHECK_MAXFD
9 +
10 dnl --with-maxfd present for compatibility with Squid-2.
11 dnl undocumented in ./configure --help to encourage using the Squid-3 directive
12 AC_ARG_WITH(maxfd,,
13 @@ -3165,8 +3168,6 @@
14 esac
15 ])
16
17 -SQUID_CHECK_DEFAULT_FD_SETSIZE
18 -SQUID_CHECK_MAXFD
19 if test "x$squid_filedescriptors_num" != "x"; then
20 AC_MSG_NOTICE([Default number of fieldescriptors: $squid_filedescriptors_num])
21 fi