comparison src/core/ngx_connection.h @ 486:6484cbba0222 NGINX_0_7_55

nginx 0.7.55 *) Bugfix: the http_XXX parameters in "proxy_cache_use_stale" and "fastcgi_cache_use_stale" directives did not work. *) Bugfix: fastcgi cache did not cache header only responses. *) Bugfix: of "select() failed (9: Bad file descriptor)" error in nginx/Unix and "select() failed (10022: ...)" error in nginx/Windows. *) Bugfix: a segmentation fault might occur in worker process, if an "debug_connection" directive was used; the bug had appeared in 0.7.54. *) Bugfix: fix ngx_http_image_filter_module building errors. *) Bugfix: the files bigger than 2G could not be transferred using $r->sendfile. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Wed, 06 May 2009 00:00:00 +0400
parents ed5e10fb40fc
children 98143f74eb3d
comparison
equal deleted inserted replaced
485:21824e8058e6 486:6484cbba0222
161 ngx_atomic_t lock; 161 ngx_atomic_t lock;
162 #endif 162 #endif
163 }; 163 };
164 164
165 165
166 #ifndef ngx_ssl_set_nosendshut 166 ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, void *sockaddr,
167 #define ngx_ssl_set_nosendshut(ssl) 167 socklen_t socklen);
168 #endif
169
170
171 ngx_listening_t *ngx_listening_inet_stream_socket(ngx_conf_t *cf,
172 in_addr_t addr, in_port_t port);
173 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); 168 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle);
174 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); 169 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle);
175 void ngx_configure_listening_socket(ngx_cycle_t *cycle); 170 void ngx_configure_listening_sockets(ngx_cycle_t *cycle);
176 void ngx_close_listening_sockets(ngx_cycle_t *cycle); 171 void ngx_close_listening_sockets(ngx_cycle_t *cycle);
177 void ngx_close_connection(ngx_connection_t *c); 172 void ngx_close_connection(ngx_connection_t *c);
178 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); 173 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
179 174
180 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); 175 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);