current configure.in,1.197,1.198
Fabian Keil <[email protected]> Sun, 22 May 2016 12:42:51 +0000
| Newsgroups | gmane.comp.web.privoxy.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ijbswa/current In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15232 Modified Files: configure.in Log Message: Add configure argument to optimistically redefine FD_SETSIZE ... with the intent to change the maximum number of client connections Privoxy can handle. Only works with some libcs. Sponsored by: Robert Klemme Index: configure.in =================================================================== RCS file: /cvsroot/ijbswa/current/configure.in,v retrieving revision 1.197 retrieving revision 1.198 diff -C2 -d -r1.197 -r1.198 *** configure.in 8 May 2016 10:44:39 -0000 1.197 --- configure.in 22 May 2016 12:42:49 -0000 1.198 *************** *** 466,469 **** --- 466,489 ---- dnl ================================================================= + dnl On most platforms select() does not support fd numbers above + dnl FD_SETSIZE, as a result Privoxy can't handle more than + dnl approximately FD_SETSIZE/2 client connections. + dnl On some platforms the value can be changed at compile time, + dnl on others it's hardcoded and requires recompilation of the OS. + dnl ================================================================= + AC_ARG_WITH(fdsetsize, + [ --with-fdsetsize=n Optimistically redefine FD_SETSIZE with the intend to change the number of connections Privoxy can handle. Dangerous if the platform doesn't support this.], + [ + if test "x$withval" != "xyes"; then + AC_DEFINE_UNQUOTED(FD_SETSIZE,$with_fdsetsize,[Relevant for select(). Not honoured by all OS.]) + echo "Redefining FD_SETSIZE to $with_fdsetsize." + AC_MSG_WARN(On platforms that don't support FD_SETSIZE redefinition it may cause memory corruption.) + else + AC_MSG_ERROR(--with-fdsetsize used without value) + fi + ] + ) + + dnl ================================================================= dnl Support for thread-safe versions of gethostbyaddr, gethostbyname, dnl gmtime and localtime ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j