summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_cycle.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-04-04 12:26:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-04-04 12:26:53 +0000
commit4956ac510858c5bc32945bcb87a460b91440ad3e (patch)
treec3692ef67e1a4fb4d10a4ab213c13844a34173ed /src/core/ngx_cycle.h
parentfde7d51392598d0fa74dca125883d9663e7eb80a (diff)
downloadnginx-4956ac510858c5bc32945bcb87a460b91440ad3e.tar.gz
nginx-4956ac510858c5bc32945bcb87a460b91440ad3e.tar.bz2
reuse keepalive connections if there are no free worker connections
patch by Maxim Dounin
Diffstat (limited to 'src/core/ngx_cycle.h')
-rw-r--r--src/core/ngx_cycle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index d96c85ffa..e14983d6f 100644
--- a/src/core/ngx_cycle.h
+++ b/src/core/ngx_cycle.h
@@ -44,6 +44,8 @@ struct ngx_cycle_s {
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;