comparison src/http/ngx_http_request.c @ 653:7cbef16c71a1 release-0.3.48

nginx-0.3.48-RELEASE import *) Change: now the ngx_http_charset_module works for subrequests, if the response has no "Content-Type" header line. *) Bugfix: if the "proxy_pass" directive has no URI part, then the "proxy_redirect default" directive add the unnecessary slash in start of the rewritten redirect. *) Bugfix: the internal redirect always transform client's HTTP method to GET, now the transformation is made for the "X-Accel-Redirect" redirects only and if the method is not HEAD; the bug had appeared in 0.3.42. *) Bugfix: the ngx_http_perl_module could not be built, if the perl was built with the threads support; the bug had appeared in 0.3.46.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 May 2006 17:28:12 +0000
parents 39b7d7b33c91
children 400711951595
comparison
equal deleted inserted replaced
652:d01fc553611d 653:7cbef16c71a1
1468 1468
1469 if (rc >= NGX_HTTP_SPECIAL_RESPONSE 1469 if (rc >= NGX_HTTP_SPECIAL_RESPONSE
1470 || rc == NGX_HTTP_CREATED 1470 || rc == NGX_HTTP_CREATED
1471 || rc == NGX_HTTP_NO_CONTENT) 1471 || rc == NGX_HTTP_NO_CONTENT)
1472 { 1472 {
1473
1474 if (rc == NGX_HTTP_CLOSE) { 1473 if (rc == NGX_HTTP_CLOSE) {
1475 ngx_http_close_request(r, rc); 1474 ngx_http_close_request(r, rc);
1476 return; 1475 return;
1477 } 1476 }
1478 1477