masaori335 commented on code in PR #12928:
URL: https://github.com/apache/trafficserver/pull/12928#discussion_r2876259693


##########
src/proxy/http/HttpSM.cc:
##########
@@ -4671,12 +4671,18 @@ HttpSM::track_connect_fail() const
   bool retval = false;
   if (t_state.current.server->had_connect_fail()) {
     // What does our policy say?
-    if (t_state.txn_conf->connect_down_policy == 2) { // Any connection error 
through TLS handshake
+    if (t_state.txn_conf->connect_down_policy == 2 ||
+        t_state.txn_conf->connect_down_policy == 3) { // Any connection error 
through TLS handshake

Review Comment:
   I prefer make this config bit mask, it'll allow us to choose combination of 
policies when we have more policies.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to