comparison src/http/modules/perl/nginx.xs @ 276:c5c2b2883984 NGINX_0_5_8

nginx 0.5.8 *) Bugfix: a segmentation fault might occur if "client_body_in_file_only on" was used and a request body was small. *) Bugfix: a segmentation fault occurred if "client_body_in_file_only on" and "proxy_pass_request_body off" or "fastcgi_pass_request_body off" directives were used, and nginx switched to a next upstream. *) Bugfix: if the "proxy_buffering off" directive was used and a client connection was non-active, then the connection was closed after send timeout; bug appeared in 0.4.7. *) Bugfix: if the "epoll" method was used and a client closed a connection prematurely, then nginx closed the connection after a send timeout only. *) Bugfix: the "[alert] zero size buf" error when FastCGI server was used. *) Bugfixes in the "limit_zone" directive.
author Igor Sysoev <http://sysoev.ru>
date Fri, 19 Jan 2007 00:00:00 +0300
parents 6eb1e38f0f1f
children 704622b2528a
comparison
equal deleted inserted replaced
275:1779577cb845 276:c5c2b2883984
630 cln = ngx_pool_cleanup_add(r->pool, sizeof(ngx_pool_cleanup_file_t)); 630 cln = ngx_pool_cleanup_add(r->pool, sizeof(ngx_pool_cleanup_file_t));
631 if (cln == NULL) { 631 if (cln == NULL) {
632 XSRETURN_EMPTY; 632 XSRETURN_EMPTY;
633 } 633 }
634 634
635 fd = ngx_open_file((u_char *) filename, NGX_FILE_RDONLY, NGX_FILE_OPEN); 635 fd = ngx_open_file((u_char *) filename, NGX_FILE_RDONLY, NGX_FILE_OPEN, 0);
636 636
637 if (fd == NGX_INVALID_FILE) { 637 if (fd == NGX_INVALID_FILE) {
638 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 638 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,
639 ngx_open_file_n " \"%s\" failed", filename); 639 ngx_open_file_n " \"%s\" failed", filename);
640 XSRETURN_EMPTY; 640 XSRETURN_EMPTY;