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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 131cf30a2d Fix type issue difference from master branch (#12378)
131cf30a2d is described below

commit 131cf30a2dcef0bdaa4defdd41950f4dc08e266b
Author: Chris McFarlen <[email protected]>
AuthorDate: Tue Jul 22 11:20:30 2025 -0500

    Fix type issue difference from master branch (#12378)
---
 src/proxy/http/HttpSM.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/proxy/http/HttpSM.cc b/src/proxy/http/HttpSM.cc
index 4b4560859b..448ff515b8 100644
--- a/src/proxy/http/HttpSM.cc
+++ b/src/proxy/http/HttpSM.cc
@@ -2779,7 +2779,7 @@ HttpSM::tunnel_handler_post(int event, void *data)
       default:
         break;
       }
-    } else if (static_cast<HttpSmPost_t>(p->handler_state) == 
HttpSmPost_t::SERVER_FAIL) {
+    } else if (p->handler_state == HTTP_SM_POST_SERVER_FAIL) {
       handle_post_failure();
       break;
     }

Reply via email to