commit | 4956ac510858c5bc32945bcb87a460b91440ad3e | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Apr 04 12:26:53 2011 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Apr 04 12:26:53 2011 +0000 |
tree | c3692ef67e1a4fb4d10a4ab213c13844a34173ed | |
parent | fde7d51392598d0fa74dca125883d9663e7eb80a [diff] [blame] |
reuse keepalive connections if there are no free worker connections patch by Maxim Dounin
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h index d96c85f..e14983d 100644 --- a/src/core/ngx_cycle.h +++ b/src/core/ngx_cycle.h
@@ -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;