comparison src/http/modules/perl/nginx.xs @ 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 392c16f2d858
children f7ec98e3caeb
comparison
equal deleted inserted replaced
485:21824e8058e6 486:6484cbba0222
605 sendfile(r, filename, offset = -1, bytes = 0) 605 sendfile(r, filename, offset = -1, bytes = 0)
606 CODE: 606 CODE:
607 607
608 ngx_http_request_t *r; 608 ngx_http_request_t *r;
609 char *filename; 609 char *filename;
610 int offset; 610 off_t offset;
611 size_t bytes; 611 size_t bytes;
612 ngx_str_t path; 612 ngx_str_t path;
613 ngx_buf_t *b; 613 ngx_buf_t *b;
614 ngx_open_file_info_t of; 614 ngx_open_file_info_t of;
615 ngx_http_core_loc_conf_t *clcf; 615 ngx_http_core_loc_conf_t *clcf;