aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-08-14 12:47:30 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-08-14 12:55:50 +0300
commit91c27c5353120c77223f96ae7b3942fbbc269185 (patch)
tree2f5893ba2662c0276e6820fe21dcd629a8f6bf70
parent56c27c5153c483b79dec68d0cb1481428f0d729c (diff)
downloadydb-91c27c5353120c77223f96ae7b3942fbbc269185.tar.gz
Intermediate changes
-rw-r--r--library/cpp/neh/http2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/neh/http2.cpp b/library/cpp/neh/http2.cpp
index 766a344013..f10fdc3b3e 100644
--- a/library/cpp/neh/http2.cpp
+++ b/library/cpp/neh/http2.cpp
@@ -1230,7 +1230,7 @@ namespace {
void THttpRequest::OnResponse(TAutoPtr<THttpParser>& rsp) {
DBGOUT("THttpRequest::OnResponse()");
ReleaseConn();
- if (Y_LIKELY(((rsp->RetCode() >= 200 && rsp->RetCode() < (!THttp2Options::RedirectionNotError ? 300 : 400)) || THttp2Options::AnyResponseIsNotError))) {
+ if (Y_LIKELY(((rsp->RetCode() >= 200u && rsp->RetCode() < (!THttp2Options::RedirectionNotError ? 300u : 400u)) || THttp2Options::AnyResponseIsNotError))) {
NotifyResponse(rsp->DecodedContent(), rsp->FirstLine(), rsp->Headers());
} else {
TString message;