summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-11 10:01:16 +0000
committerJonathan Kolb <jon@b0g.us>2006-12-11 10:01:16 +0000
commite1cf9c10bedcb5f1d570d0243e029473831f3031 (patch)
treeb43868f835ffdafd1c6fa26c712caae5aedb20b3 /src/http/ngx_http_request.c
parenta1d2290452d6c8de84d143c0d811e84f5765ecb9 (diff)
downloadnginx-e1cf9c10bedcb5f1d570d0243e029473831f3031.tar.gz
Changes with nginx 0.5.1 11 Dec 2006v0.5.1
*) Bugfix: the "post_action" directive might not run after a unsuccessful completion of a request. *) Workaround: for Eudora for Mac; bug appeared in 0.4.11. Thanks to Bron Gondwana. *) Bugfix: if the "upstream" name was used in the "fastcgi_pass", then the message "no port in upstream" was issued; bug appeared in 0.5.0. *) Bugfix: if the "proxy_pass" and "fastcgi_pass" directives used the same servers but different ports, then these directives uses the first described port; bug appeared in 0.5.0. *) Bugfix: if the "proxy_pass" and "fastcgi_pass" directives used the unix domain sockets, then these directives used first described socket; bug appeared in 0.5.0. *) Bugfix: ngx_http_auth_basic_module ignored the user if it was in the last line in the password file and there was no the carriage return, the line feed, or the ":" symbol after the password. *) Bugfix: the $upstream_response_time variable might be equal to "0.000", although response time was more than 1 millisecond.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 8a86f2e5b..2c1ac9566 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2247,6 +2247,8 @@ ngx_http_post_action(ngx_http_request_t *r)
r->header_only = 1;
r->post_action = 1;
+ r->read_event_handler = ngx_http_block_read;
+
ngx_http_internal_redirect(r, &clcf->post_action, NULL);
return NGX_OK;