comparison 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
comparison
equal deleted inserted replaced
3879:502a6b0acf3f 3880:e3cb8e27e413
41 ngx_log_t new_log; 41 ngx_log_t new_log;
42 42
43 ngx_connection_t **files; 43 ngx_connection_t **files;
44 ngx_connection_t *free_connections; 44 ngx_connection_t *free_connections;
45 ngx_uint_t free_connection_n; 45 ngx_uint_t free_connection_n;
46
47 ngx_queue_t reusable_connections_queue;
46 48
47 ngx_array_t listening; 49 ngx_array_t listening;
48 ngx_array_t pathes; 50 ngx_array_t pathes;
49 ngx_list_t open_files; 51 ngx_list_t open_files;
50 ngx_list_t shared_memory; 52 ngx_list_t shared_memory;