Mercurial > hg > nginx
diff src/core/ngx_cycle.h @ 3880:e3cb8e27e413
reuse keepalive connections if there are no free worker connections
patch by Maxim Dounin
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 04 Apr 2011 12:26:53 +0000 |
parents | 89002ac695e5 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/core/ngx_cycle.h Mon Apr 04 10:43:21 2011 +0000 +++ b/src/core/ngx_cycle.h Mon Apr 04 12:26:53 2011 +0000 @@ -44,6 +44,8 @@ ngx_connection_t *free_connections; ngx_uint_t free_connection_n; + ngx_queue_t reusable_connections_queue; + ngx_array_t listening; ngx_array_t pathes; ngx_list_t open_files;