Mercurial > hg > nginx-vendor-1-0
comparison src/core/ngx_connection.h @ 618:b9763778e212 NGINX_0_9_7
nginx 0.9.7
*) Feature: now keepalive connections may be closed premature, if there
are no free worker connections.
Thanks to Maxim Dounin.
*) Feature: the "rotate" parameter of the "image_filter" directive.
Thanks to Adam Bocim.
*) Bugfix: a case when a backend in "fastcgi_pass", "scgi_pass", or
"uwsgi_pass" directives is given by expression and refers to a
defined upstream.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Apr 2011 00:00:00 +0400 |
parents | 016632f0fb18 |
children | ad25218fd14b |
comparison
equal
deleted
inserted
replaced
617:fcda3d3eb4ff | 618:b9763778e212 |
---|---|
133 | 133 |
134 struct sockaddr *local_sockaddr; | 134 struct sockaddr *local_sockaddr; |
135 | 135 |
136 ngx_buf_t *buffer; | 136 ngx_buf_t *buffer; |
137 | 137 |
138 ngx_queue_t queue; | |
139 | |
138 ngx_atomic_uint_t number; | 140 ngx_atomic_uint_t number; |
139 | 141 |
140 ngx_uint_t requests; | 142 ngx_uint_t requests; |
141 | 143 |
142 unsigned buffered:8; | 144 unsigned buffered:8; |
148 unsigned timedout:1; | 150 unsigned timedout:1; |
149 unsigned error:1; | 151 unsigned error:1; |
150 unsigned destroyed:1; | 152 unsigned destroyed:1; |
151 | 153 |
152 unsigned idle:1; | 154 unsigned idle:1; |
155 unsigned reusable:1; | |
153 unsigned close:1; | 156 unsigned close:1; |
154 | 157 |
155 unsigned sendfile:1; | 158 unsigned sendfile:1; |
156 unsigned sndlowat:1; | 159 unsigned sndlowat:1; |
157 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ | 160 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ |
184 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); | 187 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); |
185 | 188 |
186 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); | 189 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); |
187 void ngx_free_connection(ngx_connection_t *c); | 190 void ngx_free_connection(ngx_connection_t *c); |
188 | 191 |
192 void ngx_reusable_connection(ngx_connection_t *c, ngx_uint_t reusable); | |
189 | 193 |
190 #endif /* _NGX_CONNECTION_H_INCLUDED_ */ | 194 #endif /* _NGX_CONNECTION_H_INCLUDED_ */ |