You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/08/10 17:33:26 UTC

[trafficserver] branch 9.2.x updated: crash fix (#8268)

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

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new f533f7e16 crash fix (#8268)
f533f7e16 is described below

commit f533f7e165990037dca64d581355c9b479b76953
Author: Fei Deng <du...@gmail.com>
AuthorDate: Mon Sep 27 10:28:04 2021 -0500

    crash fix (#8268)
    
    (cherry picked from commit cd1139b5049d3f0926e2fdfad9b2b7be1e7990b1)
---
 proxy/http/HttpSM.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index fe3db50d6..67b7d931d 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -6049,6 +6049,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");