aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/http
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/actors/http
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/actors/http')
-rw-r--r--library/cpp/actors/http/http.h2
-rw-r--r--library/cpp/actors/http/http_proxy_acceptor.cpp2
-rw-r--r--library/cpp/actors/http/http_proxy_incoming.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/http/http.h b/library/cpp/actors/http/http.h
index 8b35de737e..a2d8004a64 100644
--- a/library/cpp/actors/http/http.h
+++ b/library/cpp/actors/http/http.h
@@ -647,7 +647,7 @@ public:
Stage = ERenderStage::Error;
break;
}
- Y_VERIFY(size == BufferType::Size());
+ Y_ABORT_UNLESS(size == BufferType::Size());
}
TStringBuf GetRawData() const {
diff --git a/library/cpp/actors/http/http_proxy_acceptor.cpp b/library/cpp/actors/http/http_proxy_acceptor.cpp
index 4ff09ec7aa..f9ee1d8032 100644
--- a/library/cpp/actors/http/http_proxy_acceptor.cpp
+++ b/library/cpp/actors/http/http_proxy_acceptor.cpp
@@ -132,7 +132,7 @@ protected:
}
int err = errno;
if (err == EAGAIN || err == EWOULDBLOCK) { // request poller for further connection polling
- Y_VERIFY(PollerToken);
+ Y_ABORT_UNLESS(PollerToken);
PollerToken->Request(true, false);
}
}
diff --git a/library/cpp/actors/http/http_proxy_incoming.cpp b/library/cpp/actors/http/http_proxy_incoming.cpp
index f6d26ec3eb..68bd5f6ecb 100644
--- a/library/cpp/actors/http/http_proxy_incoming.cpp
+++ b/library/cpp/actors/http/http_proxy_incoming.cpp
@@ -222,7 +222,7 @@ protected:
while (CurrentResponse != nullptr) {
size_t size = CurrentResponse->Size();
if (size == 0) {
- Y_VERIFY(Requests.front() == CurrentResponse->GetRequest());
+ Y_ABORT_UNLESS(Requests.front() == CurrentResponse->GetRequest());
bool close = CurrentResponse->IsConnectionClose();
Requests.pop_front();
CleanupResponse(CurrentResponse);