Skip to content

Commit c2b8d74

Browse files
authored
TEvRequestAuthAndCheck has been fixed for proxy_simple (ydb-platform#13028) (ydb-platform#13655)
1 parent 26419cc commit c2b8d74

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ydb/core/grpc_services/grpc_request_proxy_simple.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ class TGRpcRequestProxySimple
8686
request->SendResult(*result, Ydb::StatusIds::SUCCESS);
8787
}
8888

89+
void Handle(TEvRequestAuthAndCheck::TPtr& ev, const TActorContext&) {
90+
ev->Get()->FinishSpan();
91+
ev->Get()->ReplyWithYdbStatus(Ydb::StatusIds::SUCCESS);
92+
}
93+
8994
void Handle(TEvProxyRuntimeEvent::TPtr& event, const TActorContext&) {
9095
IRequestProxyCtx* requestBaseCtx = event->Get();
9196
TString validationError;
@@ -221,6 +226,7 @@ void TGRpcRequestProxySimple::StateFunc(TAutoPtr<IEventHandle>& ev) {
221226
hFunc(TEvents::TEvUndelivered, HandleUndelivery);
222227
HFunc(TEvListEndpointsRequest, PreHandle);
223228
HFunc(TEvProxyRuntimeEvent, PreHandle);
229+
HFunc(TEvRequestAuthAndCheck, PreHandle);
224230
default:
225231
Y_ABORT("Unknown request: %u\n", ev->GetTypeRewrite());
226232
break;

0 commit comments

Comments
 (0)