comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 32:da8c190bdaba NGINX_0_1_16

nginx 0.1.16 *) 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; bug appeared in 0.1.14.
author Igor Sysoev <http://sysoev.ru>
date Tue, 25 Jan 2005 00:00:00 +0300
parents e1ada20fc595
children aab2ea7c0458
comparison
equal deleted inserted replaced
31:1b17dd824438 32:da8c190bdaba
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,