comparison src/http/ngx_http_upstream.c @ 511:c12967aadd87 release-0.1.30

nginx-0.1.30-RELEASE import *) Bugfix: the worker process may got caught in an endless loop if the SSI was used. *) Bugfix: the response encrypted by SSL may not transferred complete. *) Bugfix: if the length of the response part received at once from proxied or FastCGI server was equal to 500, then nginx returns the 500 response code; in proxy mode the the bug had appeared in 0.1.29 only. *) Bugfix: nginx did not consider the directives with 8 or 9 parameters as invalid. *) Feature: the "return" directive can return the 204 response code. *) Feature: the "ignore_invalid_headers" directive.
author Igor Sysoev <igor@sysoev.ru>
date Sat, 14 May 2005 18:42:03 +0000
parents 9b8c906f6e63
children 417a087c9c4d
comparison
equal deleted inserted replaced
510:3e9296472a39 511:c12967aadd87
777 if (n == NGX_ERROR || n == 0) { 777 if (n == NGX_ERROR || n == 0) {
778 ngx_http_upstream_next(r, u, NGX_HTTP_UPSTREAM_FT_ERROR); 778 ngx_http_upstream_next(r, u, NGX_HTTP_UPSTREAM_FT_ERROR);
779 return; 779 return;
780 } 780 }
781 781
782 if (n == NGX_HTTP_INTERNAL_SERVER_ERROR) {
783 ngx_http_upstream_finalize_request(r, u,
784 NGX_HTTP_INTERNAL_SERVER_ERROR);
785 return;
786 }
787
788 u->header_in.last += n; 782 u->header_in.last += n;
789 783
790 #if 0 784 #if 0
791 u->valid_header_in = 0; 785 u->valid_header_in = 0;
792 786