Mercurial > hg > nginx-vendor-0-8
comparison src/http/modules/proxy/ngx_http_proxy_upstream.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 |
---|---|
780 c = p->upstream->peer.connection; | 780 c = p->upstream->peer.connection; |
781 | 781 |
782 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, | 782 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, |
783 "http proxy send request"); | 783 "http proxy send request"); |
784 | 784 |
785 #if (HAVE_KQUEUE) | 785 #if (NGX_HAVE_KQUEUE) |
786 | 786 |
787 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) | 787 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) |
788 && !p->request_sent | 788 && !p->request_sent |
789 && c->write->pending_eof) | 789 && c->write->pending_eof) |
790 { | 790 { |
1285 header->last_modified = p->cache->ctx.last_modified; | 1285 header->last_modified = p->cache->ctx.last_modified; |
1286 header->date = p->cache->ctx.date; | 1286 header->date = p->cache->ctx.date; |
1287 header->length = r->headers_out.content_length_n; | 1287 header->length = r->headers_out.content_length_n; |
1288 p->cache->ctx.length = r->headers_out.content_length_n; | 1288 p->cache->ctx.length = r->headers_out.content_length_n; |
1289 | 1289 |
1290 header->key_len = p->cache->ctx.key.len; | 1290 header->key_len = p->cache->ctx.key0.len; |
1291 ngx_memcpy(&header->key, p->cache->ctx.key.data, header->key_len); | 1291 ngx_memcpy(&header->key, p->cache->ctx.key0.data, header->key_len); |
1292 header->key[header->key_len] = LF; | 1292 header->key[header->key_len] = LF; |
1293 } | 1293 } |
1294 | 1294 |
1295 ep = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); | 1295 ep = ngx_pcalloc(r->pool, sizeof(ngx_event_pipe_t)); |
1296 if (ep == NULL) { | 1296 if (ep == NULL) { |