comparison src/core/ngx_connection.c @ 4917:484aec758d2c

Fixed failure to start cache manager and cache loader processes if there were more than 512 listening sockets in configuration.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 20 Nov 2012 13:37:55 +0000
parents bdcdbdf35b52
children 93713d4b99c3
comparison
equal deleted inserted replaced
4916:79c8e87b1fcb 4917:484aec758d2c
747 747
748 #endif 748 #endif
749 749
750 ls[i].fd = (ngx_socket_t) -1; 750 ls[i].fd = (ngx_socket_t) -1;
751 } 751 }
752
753 cycle->listening.nelts = 0;
752 } 754 }
753 755
754 756
755 ngx_connection_t * 757 ngx_connection_t *
756 ngx_get_connection(ngx_socket_t s, ngx_log_t *log) 758 ngx_get_connection(ngx_socket_t s, ngx_log_t *log)