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 914651fff8 Fix PR#12748 cherry-pick for 10.1.x (#12830)
914651fff8 is described below

commit 914651fff8ec855843f8f51b725f2e935fc757b5
Author: Masaori Koshiba <[email protected]>
AuthorDate: Tue Jan 27 23:24:28 2026 +0900

    Fix PR#12748 cherry-pick for 10.1.x (#12830)
---
 include/proxy/http2/Http2Stream.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/proxy/http2/Http2Stream.h 
b/include/proxy/http2/Http2Stream.h
index 2810c4f2e1..d3529e4a9d 100644
--- a/include/proxy/http2/Http2Stream.h
+++ b/include/proxy/http2/Http2Stream.h
@@ -401,7 +401,7 @@ Http2Stream::payload_length_is_valid() const
   bool is_payload_precluded =
     this->is_outbound_connection() && (_send_header.method_get_wksidx() == 
HTTP_WKSIDX_HEAD ||
                                        (_send_header.method_get_wksidx() == 
HTTP_WKSIDX_GET && _send_header.presence(mask) &&
-                                        _receive_header.status_get() == 
HTTPStatus::NOT_MODIFIED));
+                                        _receive_header.status_get() == 
HTTP_STATUS_NOT_MODIFIED));
 
   if (content_length != 0 && !is_payload_precluded && content_length != 
data_length) {
     Warning("Bad payload length content_length=%d data_legnth=%d session_id=%" 
PRId64, content_length,

Reply via email to