diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-05-06 09:29:03 +0000 |
|---|---|---|
| committer | Jonathan Kolb <jon@b0g.us> | 2009-05-06 09:29:03 +0000 |
| commit | 0a2a082941a6bfc7374c8c7a6c409cbb5cde8455 (patch) | |
| tree | de748a88acfd6b189eb27bc0d3040836680cd2d8 /src/http/modules | |
| parent | 1a537756bb9d3018ea6ab099b22e9734cc8a879d (diff) | |
| download | nginx-0a2a082941a6bfc7374c8c7a6c409cbb5cde8455.tar.gz | |
Changes with nginx 0.7.55 06 May 2009v0.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.
Diffstat (limited to 'src/http/modules')
| -rw-r--r-- | src/http/modules/ngx_http_image_filter_module.c | 2 | ||||
| -rw-r--r-- | src/http/modules/perl/nginx.pm | 2 | ||||
| -rw-r--r-- | src/http/modules/perl/nginx.xs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_image_filter_module.c b/src/http/modules/ngx_http_image_filter_module.c index a5af1ac2e..10fefc549 100644 --- a/src/http/modules/ngx_http_image_filter_module.c +++ b/src/http/modules/ngx_http_image_filter_module.c @@ -186,7 +186,7 @@ ngx_http_image_header_filter(ngx_http_request_t *r) len = r->headers_out.content_length_n; - if (len != -1 && len > conf->buffer_size) { + if (len != -1 && len > (off_t) conf->buffer_size) { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "image filter: too big response: %O", len); diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm index 47bc83e24..2c5b74f62 100644 --- a/src/http/modules/perl/nginx.pm +++ b/src/http/modules/perl/nginx.pm @@ -47,7 +47,7 @@ our @EXPORT = qw( HTTP_INSUFFICIENT_STORAGE ); -our $VERSION = '0.7.54'; +our $VERSION = '0.7.55'; require XSLoader; XSLoader::load('nginx', $VERSION); diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index 66b0f59b2..077cf0ddf 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -607,7 +607,7 @@ sendfile(r, filename, offset = -1, bytes = 0) ngx_http_request_t *r; char *filename; - int offset; + off_t offset; size_t bytes; ngx_str_t path; ngx_buf_t *b; |
