Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.c @ 4953:5e9d5786ec06 stable-1.2
Merge of r4918: cache manager startup with many listen sockets.
Fixed failure to start cache manager and cache loader processes
if there were more than 512 listening sockets in configuration.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 10 Dec 2012 17:46:51 +0000 |
parents | 67653855682e |
children | c0497468f521 |
comparison
equal
deleted
inserted
replaced
4952:3795aeb360fb | 4953:5e9d5786ec06 |
---|---|
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) |