Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) 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; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | bbd6b0b4a2b1 |
children | 8e8f3af115b5 |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
412 ngx_http_proxy_ctx_t *p; | 412 ngx_http_proxy_ctx_t *p; |
413 | 413 |
414 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, 0, | 414 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, 0, |
415 "http proxy check client, write event:%d", ev->write); | 415 "http proxy check client, write event:%d", ev->write); |
416 | 416 |
417 #if (HAVE_KQUEUE) | 417 #if (NGX_HAVE_KQUEUE) |
418 | 418 |
419 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { | 419 if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) { |
420 | 420 |
421 if (!ev->pending_eof) { | 421 if (!ev->pending_eof) { |
422 return; | 422 return; |
561 * call ngx_peek(): recv(MSG_PEEK) to get errno. THINK about aio. | 561 * call ngx_peek(): recv(MSG_PEEK) to get errno. THINK about aio. |
562 * if there's no error we need to disable event. | 562 * if there's no error we need to disable event. |
563 */ | 563 */ |
564 | 564 |
565 #if 0 | 565 #if 0 |
566 #if (HAVE_KQUEUE) | 566 #if (NGX_HAVE_KQUEUE) |
567 | 567 |
568 if ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT) && rev->kq_eof) { | 568 if ((ngx_event_flags & NGX_USE_KQUEUE_EVENT) && rev->kq_eof) { |
569 ngx_http_busy_unlock(p->lcf->busy_lock, &p->busy_lock); | 569 ngx_http_busy_unlock(p->lcf->busy_lock, &p->busy_lock); |
570 | 570 |
571 ngx_del_timer(rev); | 571 ngx_del_timer(rev); |
572 | 572 |
573 ngx_log_error(NGX_LOG_ERR, c->log, rev->kq_errno, | 573 ngx_log_error(NGX_LOG_ERR, c->log, rev->kq_errno, |
1398 ngx_freebsd_net_inet_tcp_sendspace); | 1398 ngx_freebsd_net_inet_tcp_sendspace); |
1399 | 1399 |
1400 return NGX_CONF_ERROR; | 1400 return NGX_CONF_ERROR; |
1401 } | 1401 } |
1402 | 1402 |
1403 #elif !(HAVE_SO_SNDLOWAT) | 1403 #elif !(NGX_HAVE_SO_SNDLOWAT) |
1404 | 1404 |
1405 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, | 1405 ngx_conf_log_error(NGX_LOG_WARN, cf, 0, |
1406 "\"proxy_send_lowat\" is not supported, ignored"); | 1406 "\"proxy_send_lowat\" is not supported, ignored"); |
1407 | 1407 |
1408 *np = 0; | 1408 *np = 0; |