aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/neh
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:15:44 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-17 09:00:07 +0300
commit784925324fd115c37bc98c5bbfe64c15f9966d74 (patch)
treef763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/neh
parentd6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff)
downloadydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/neh')
-rw-r--r--library/cpp/neh/http2.cpp2
-rw-r--r--library/cpp/neh/netliba.cpp4
-rw-r--r--library/cpp/neh/netliba_udp_http.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/neh/http2.cpp b/library/cpp/neh/http2.cpp
index a685195edf..79e0366de3 100644
--- a/library/cpp/neh/http2.cpp
+++ b/library/cpp/neh/http2.cpp
@@ -948,7 +948,7 @@ namespace {
SuggestPurgeCache();
if (ExceedHardLimit()) {
- Y_FAIL("neh::http2 output connections limit reached");
+ Y_ABORT("neh::http2 output connections limit reached");
//ythrow yexception() << "neh::http2 output connections limit reached";
}
}
diff --git a/library/cpp/neh/netliba.cpp b/library/cpp/neh/netliba.cpp
index 1f46ed0c1e..3a168b6e7e 100644
--- a/library/cpp/neh/netliba.cpp
+++ b/library/cpp/neh/netliba.cpp
@@ -403,7 +403,7 @@ namespace {
}
void AddResponse(TUdpHttpResponse*) override {
- Y_FAIL("unexpected response in neh netliba server");
+ Y_ABORT("unexpected response in neh netliba server");
}
void AddCancel(const TGUID& guid) override {
@@ -414,7 +414,7 @@ namespace {
}
void AddRequestAck(const TGUID&) override {
- Y_FAIL("unexpected acc in neh netliba server");
+ Y_ABORT("unexpected acc in neh netliba server");
}
void UpdateInProcess() {
diff --git a/library/cpp/neh/netliba_udp_http.cpp b/library/cpp/neh/netliba_udp_http.cpp
index 1e89347a13..b0b0e0ff03 100644
--- a/library/cpp/neh/netliba_udp_http.cpp
+++ b/library/cpp/neh/netliba_udp_http.cpp
@@ -322,7 +322,7 @@ namespace NNehNetliba {
void SendResponse(const TGUID& reqId, TVector<char>* data) override {
if (data && data->size() > MAX_PACKET_SIZE) {
- Y_FAIL(
+ Y_ABORT(
"data size is too large; data->size()=%" PRISZT ", MAX_PACKET_SIZE=%" PRISZT,
data->size(), MAX_PACKET_SIZE);
}