Mercurial > hg > nginx-vendor-0-7
comparison src/http/ngx_http_request.c @ 18:6f8b0dc0f8dd NGINX_0_1_9
nginx 0.1.9
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; bug appeared in 0.1.8.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 8b6db3bda591 |
comparison
equal
deleted
inserted
replaced
17:9acb68bb0698 | 18:6f8b0dc0f8dd |
---|---|
530 r->uri.len = r->args_start - 1 - r->uri_start; | 530 r->uri.len = r->args_start - 1 - r->uri_start; |
531 } else { | 531 } else { |
532 r->uri.len = r->uri_end - r->uri_start; | 532 r->uri.len = r->uri_end - r->uri_start; |
533 } | 533 } |
534 | 534 |
535 | |
535 if (r->complex_uri || r->quoted_uri) { | 536 if (r->complex_uri || r->quoted_uri) { |
536 | 537 |
537 if (!(r->uri.data = ngx_palloc(r->pool, r->uri.len + 1))) { | 538 if (!(r->uri.data = ngx_palloc(r->pool, r->uri.len + 1))) { |
538 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | 539 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |
539 ngx_http_close_connection(c); | 540 ngx_http_close_connection(c); |
554 } | 555 } |
555 | 556 |
556 } else { | 557 } else { |
557 r->uri.data = r->uri_start; | 558 r->uri.data = r->uri_start; |
558 } | 559 } |
560 | |
559 | 561 |
560 r->unparsed_uri.len = r->uri_end - r->uri_start; | 562 r->unparsed_uri.len = r->uri_end - r->uri_start; |
561 r->unparsed_uri.data = r->uri_start; | 563 r->unparsed_uri.data = r->uri_start; |
562 | 564 |
563 | 565 |
1749 return; | 1751 return; |
1750 } | 1752 } |
1751 | 1753 |
1752 ctx = (ngx_http_log_ctx_t *) rev->log->data; | 1754 ctx = (ngx_http_log_ctx_t *) rev->log->data; |
1753 | 1755 |
1754 #if (HAVE_KQUEUE) | 1756 #if (NGX_HAVE_KQUEUE) |
1755 | 1757 |
1756 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { | 1758 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { |
1757 if (rev->pending_eof) { | 1759 if (rev->pending_eof) { |
1758 rev->log->handler = NULL; | 1760 rev->log->handler = NULL; |
1759 ngx_log_error(NGX_LOG_INFO, c->log, rev->kq_errno, | 1761 ngx_log_error(NGX_LOG_INFO, c->log, rev->kq_errno, |