comparison src/event/modules/ngx_select_module.c @ 384:12defd37f578 NGINX_0_7_4

nginx 0.7.4 *) Feature: variables support in the "access_log" directive. *) Feature: the "open_log_file_cache" directive. *) Feature: the -g switch. *) Feature: the "Expect" request header line support. *) Bugfix: large SSI inclusions might be truncated.
author Igor Sysoev <http://sysoev.ru>
date Mon, 30 Jun 2008 00:00:00 +0400
parents b743d290eb3b
children ed5e10fb40fc
comparison
equal deleted inserted replaced
383:6ee3ada01457 384:12defd37f578
434 434
435 /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */ 435 /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */
436 436
437 #if !(NGX_WIN32) 437 #if !(NGX_WIN32)
438 438
439 if ((unsigned) ecf->connections > FD_SETSIZE) { 439 if (cycle->connection_n > FD_SETSIZE) {
440 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, 440 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
441 "the maximum number of files " 441 "the maximum number of files "
442 "supported by select() is " ngx_value(FD_SETSIZE)); 442 "supported by select() is %ud", FD_SETSIZE);
443 return NGX_CONF_ERROR; 443 return NGX_CONF_ERROR;
444 } 444 }
445 445
446 #endif 446 #endif
447 447