Skip to content

Commit 914651f

Browse files
authored
Fix PR#12748 cherry-pick for 10.1.x (#12830)
1 parent ea2c508 commit 914651f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/proxy/http2/Http2Stream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Http2Stream::payload_length_is_valid() const
401401
bool is_payload_precluded =
402402
this->is_outbound_connection() && (_send_header.method_get_wksidx() == HTTP_WKSIDX_HEAD ||
403403
(_send_header.method_get_wksidx() == HTTP_WKSIDX_GET && _send_header.presence(mask) &&
404-
_receive_header.status_get() == HTTPStatus::NOT_MODIFIED));
404+
_receive_header.status_get() == HTTP_STATUS_NOT_MODIFIED));
405405

406406
if (content_length != 0 && !is_payload_precluded && content_length != data_length) {
407407
Warning("Bad payload length content_length=%d data_legnth=%d session_id=%" PRId64, content_length,

0 commit comments

Comments
 (0)