comparison src/core/ngx_connection.c @ 16:74b1868dd3cd NGINX_0_1_8

nginx 0.1.8 *) Bugfix: in the ngx_http_autoindex_module if the long file names were in the listing. *) Feature: the "^~" modifier in the location directive. *) Feature: the proxy_max_temp_file_size directive.
author Igor Sysoev <http://sysoev.ru>
date Sat, 20 Nov 2004 00:00:00 +0300
parents 46833bd150cb
children 45fe5b98a9de
comparison
equal deleted inserted replaced
15:0503cb60c4e4 16:74b1868dd3cd
297 ngx_del_event(&cycle->read_events[fd], 297 ngx_del_event(&cycle->read_events[fd],
298 NGX_READ_EVENT, NGX_CLOSE_EVENT); 298 NGX_READ_EVENT, NGX_CLOSE_EVENT);
299 } 299 }
300 } 300 }
301 301
302 if (ngx_close_socket(ls[i].fd) == -1) { 302 if (ngx_close_socket(fd) == -1) {
303 ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno, 303 ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_socket_errno,
304 ngx_close_socket_n " %V failed", &ls[i].addr_text); 304 ngx_close_socket_n " %V failed", &ls[i].addr_text);
305 } 305 }
306 306
307 cycle->connections[fd].fd = (ngx_socket_t) -1; 307 cycle->connections[fd].fd = (ngx_socket_t) -1;