This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new abb5e58  Fixing 404 on redirects
abb5e58 is described below

commit abb5e581b97e00364611e4509bac5a95536f1747
Author: Zizhong Zhang <>
AuthorDate: Tue Mar 13 17:18:20 2018 -0700

    Fixing 404 on redirects
    This is a bug introduced with PR #2335. The `if` is to avoid unnecessary
    works when buffering the post body, but since redirects also need to
    execute the logic flow and the request info may be changed during the
    process of redirects. We need to extract the request info every time 
 proxy/http/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/ b/proxy/http/
index 9af7900..6085b1b 100644
--- a/proxy/http/
+++ b/proxy/http/
@@ -1123,7 +1123,7 @@ HttpTransact::HandleRequest(State *s)
   TxnDebug("http_trans", "START HttpTransact::HandleRequest");
-  if (!s->request_data.hdr) {
+  if (!s->state_machine->is_waiting_for_full_body) {

To stop receiving notification emails like this one, please contact

Reply via email to