Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 483:621229427cba release-0.1.16
nginx-0.1.16-RELEASE import
*) Bugfix: if the response were transferred by chunks, then on the HEAD
request the final chunk was issued.
*) Bugfix: the "Connection: keep-alive" header were issued, even if the
keepalive_timeout directive forbade the keep-alive use.
*) Bugfix: the errors in the ngx_http_fastcgi_module caused the
segmentation faults.
*) Bugfix: the compressed response encrypted by SSL may not transferred
complete.
*) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK
options, are not used for the unix domain sockets.
*) Feature: the rewrite directive supports the arguments rewriting.
*) Bugfix: the response code 400 was returned for the POST request with
the "Content-Length: 0" header; the bug had appeared in 0.1.14.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Jan 2005 12:27:35 +0000 |
parents | fd661d14a7fa |
children | 4ebe09b07e30 |
comparison
equal
deleted
inserted
replaced
482:49f5aef41157 | 483:621229427cba |
---|---|
776 ngx_close_socket_n " failed"); | 776 ngx_close_socket_n " failed"); |
777 } | 777 } |
778 } | 778 } |
779 | 779 |
780 | 780 |
781 u_char *ngx_http_proxy_log_error(void *data, u_char *buf, size_t len) | 781 u_char *ngx_http_proxy_log_error(ngx_log_t *log, u_char *buf, size_t len) |
782 { | 782 { |
783 ngx_http_proxy_log_ctx_t *ctx = data; | |
784 | |
785 u_char *p; | 783 u_char *p; |
786 ngx_int_t escape; | 784 ngx_int_t escape; |
787 ngx_str_t uri; | 785 ngx_str_t uri; |
788 ngx_http_request_t *r; | 786 ngx_http_request_t *r; |
789 ngx_peer_connection_t *peer; | 787 ngx_peer_connection_t *peer; |
788 ngx_http_proxy_log_ctx_t *ctx; | |
790 ngx_http_proxy_upstream_conf_t *uc; | 789 ngx_http_proxy_upstream_conf_t *uc; |
791 | 790 |
791 ctx = log->data; | |
792 r = ctx->proxy->request; | 792 r = ctx->proxy->request; |
793 uc = ctx->proxy->lcf->upstream; | 793 uc = ctx->proxy->lcf->upstream; |
794 peer = &ctx->proxy->upstream->peer; | 794 peer = &ctx->proxy->upstream->peer; |
795 | 795 |
796 p = ngx_snprintf(buf, len, | 796 p = ngx_snprintf(buf, len, |