From 0d174817e64b8e16b99b9947b8a15d07f142c2e5 Mon Sep 17 00:00:00 2001 From: Fei Deng Date: Fri, 20 Aug 2021 10:59:09 -0500 Subject: [PATCH] crash fix --- proxy/http/HttpSM.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc index 81ed57ec6bc..7d42e2c7234 100644 --- a/proxy/http/HttpSM.cc +++ b/proxy/http/HttpSM.cc @@ -5962,6 +5962,7 @@ HttpSM::do_setup_post_tunnel(HttpVC_t to_vc_type) // When redirect in process is true and redirection is enabled // add http server as the consumer if (post_redirect) { + chunked = false; HTTP_SM_SET_DEFAULT_HANDLER(&HttpSM::tunnel_handler_for_partial_post); tunnel.add_consumer(server_entry->vc, HTTP_TUNNEL_STATIC_PRODUCER, &HttpSM::tunnel_handler_post_server, HT_HTTP_SERVER, "redirect http server post");