diff options
| author | Oleg Doronin <[email protected]> | 2024-12-26 16:01:22 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-26 18:01:22 +0300 |
| commit | 6849beef5b683fa246fd067a7a1ce794cb5aea7e (patch) | |
| tree | 308ba4e8c562c0bbcd4c28471061f14c5f2d01cb | |
| parent | e5b885664d38770f02d6ac7a338f86bdaf966d3e (diff) | |
TEvRequestAuthAndCheck has been fixed for proxy_simple (#13028)
| -rw-r--r-- | ydb/core/grpc_services/grpc_request_proxy_simple.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ydb/core/grpc_services/grpc_request_proxy_simple.cpp b/ydb/core/grpc_services/grpc_request_proxy_simple.cpp index c2274c3d7be..5f4168ff457 100644 --- a/ydb/core/grpc_services/grpc_request_proxy_simple.cpp +++ b/ydb/core/grpc_services/grpc_request_proxy_simple.cpp @@ -86,6 +86,11 @@ private: request->SendResult(*result, Ydb::StatusIds::SUCCESS); } + void Handle(TEvRequestAuthAndCheck::TPtr& ev, const TActorContext&) { + ev->Get()->FinishSpan(); + ev->Get()->ReplyWithYdbStatus(Ydb::StatusIds::SUCCESS); + } + void Handle(TEvProxyRuntimeEvent::TPtr& event, const TActorContext&) { IRequestProxyCtx* requestBaseCtx = event->Get(); TString validationError; @@ -221,6 +226,7 @@ void TGRpcRequestProxySimple::StateFunc(TAutoPtr<IEventHandle>& ev) { hFunc(TEvents::TEvUndelivered, HandleUndelivery); HFunc(TEvListEndpointsRequest, PreHandle); HFunc(TEvProxyRuntimeEvent, PreHandle); + HFunc(TEvRequestAuthAndCheck, PreHandle); default: Y_ABORT("Unknown request: %u\n", ev->GetTypeRewrite()); break; |
