summaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/cpp/server/server_cc.cc
diff options
context:
space:
mode:
authornechda <[email protected]>2026-02-25 23:04:51 +0300
committernechda <[email protected]>2026-02-25 23:24:37 +0300
commitd22607442e063bfeed7e17a39c586e450d4ef44f (patch)
tree836f0232e0afa355cba9b8ce03cb0d89b194118b /contrib/libs/grpc/src/cpp/server/server_cc.cc
parent9861c09a37dc17e4b19887ed91fd487fc4e1c6c2 (diff)
grpc bump 1.60.2
commit_hash:fa6f56a6a0023650474aacd9cc773027d697b917
Diffstat (limited to 'contrib/libs/grpc/src/cpp/server/server_cc.cc')
-rw-r--r--contrib/libs/grpc/src/cpp/server/server_cc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libs/grpc/src/cpp/server/server_cc.cc b/contrib/libs/grpc/src/cpp/server/server_cc.cc
index ca741528432..3b373819fec 100644
--- a/contrib/libs/grpc/src/cpp/server/server_cc.cc
+++ b/contrib/libs/grpc/src/cpp/server/server_cc.cc
@@ -34,6 +34,7 @@
#include <grpc/byte_buffer.h>
#include <grpc/grpc.h>
+#include <grpc/impl/channel_arg_names.h>
#include <grpc/slice.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
@@ -58,6 +59,7 @@
#include <grpcpp/server.h>
#include <grpcpp/server_context.h>
#include <grpcpp/server_interface.h>
+#include <grpcpp/support/byte_buffer.h>
#include <grpcpp/support/channel_arguments.h>
#include <grpcpp/support/client_interceptor.h>
#include <grpcpp/support/interceptor.h>
@@ -1268,6 +1270,8 @@ void Server::ShutdownInternal(gpr_timespec deadline) {
// shutdown. We should force a shutdown now by cancelling all inflight calls
if (status == grpc::CompletionQueue::NextStatus::TIMEOUT) {
grpc_server_cancel_all_calls(server_);
+ status =
+ shutdown_cq.AsyncNext(&tag, &ok, gpr_inf_future(GPR_CLOCK_MONOTONIC));
}
// Else in case of SHUTDOWN or GOT_EVENT, it means that the server has
// successfully shutdown