diff options
author | alexvru <[email protected]> | 2023-11-17 21:51:27 +0300 |
---|---|---|
committer | alexvru <[email protected]> | 2023-11-17 22:24:31 +0300 |
commit | 9fb3a015a1c695b4f6ee2196404e7b2a06e6d677 (patch) | |
tree | dfef740b72a2662862caf1eadb53da9b53c97456 /library/cpp/actors/http/http_proxy_outgoing.cpp | |
parent | 983dd8625f86eab8f1af1b53c44ad49df392dadc (diff) |
Fix EPOLLET logic to keep old behaviour for inoptimal user code KIKIMR-20021
Diffstat (limited to 'library/cpp/actors/http/http_proxy_outgoing.cpp')
-rw-r--r-- | library/cpp/actors/http/http_proxy_outgoing.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/library/cpp/actors/http/http_proxy_outgoing.cpp b/library/cpp/actors/http/http_proxy_outgoing.cpp index 3bb23d6fae8..b1f27c2c5a1 100644 --- a/library/cpp/actors/http/http_proxy_outgoing.cpp +++ b/library/cpp/actors/http/http_proxy_outgoing.cpp @@ -107,7 +107,9 @@ protected: if (!read && !write) { write = true; } - PollerToken->Request(read, write); + if (PollerToken->RequestNotificationAfterWouldBlock(read, write)) { + continue; + } } break; } else { @@ -144,7 +146,9 @@ protected: if (!read && !write) { read = true; } - PollerToken->Request(read, write); + if (PollerToken->RequestNotificationAfterWouldBlock(read, write)) { + continue; + } } return; } else { |