trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vmam...@apache.org
Subject [trafficserver] branch 9.1.x updated: Fix the connection limit crash while using parents (#7602)
Date Tue, 16 Mar 2021 17:17:23 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/9.1.x by this push:
     new e8db7c4  Fix the connection limit crash while using parents (#7602)
e8db7c4 is described below

commit e8db7c495127915c0fd3d7eb4d9daa6f1b2fa67d
Author: Vijay Mamidi <vijayabhaskar_mamidi@yahoo.com>
AuthorDate: Tue Mar 16 10:17:13 2021 -0700

    Fix the connection limit crash while using parents (#7602)
---
 proxy/http/HttpSM.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 43ae2ed..ec539af 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -5158,12 +5158,11 @@ HttpSM::do_http_server_open(bool raw)
       } else { // queue size is 0, always block.
         ct_state.blocked();
         HTTP_INCREMENT_DYN_STAT(http_origin_connections_throttled_stat);
+        ct_state.Warn_Blocked(&t_state.txn_conf->outbound_conntrack, sm_id, ccount
- 1, &t_state.current.server->dst_addr.sa,
+                              debug_on && is_debug_tag_set("http") ? "http" : nullptr);
         send_origin_throttled_response();
       }
 
-      ct_state.Warn_Blocked(&t_state.txn_conf->outbound_conntrack, sm_id, ccount -
1, &t_state.current.server->dst_addr.sa,
-                            debug_on && is_debug_tag_set("http") ? "http" : nullptr);
-
       return;
     } else {
       ct_state.Note_Unblocked(&t_state.txn_conf->outbound_conntrack, ccount, &t_state.current.server->dst_addr.sa);


Mime
View raw message