Skip to content

Commit c05d064

Browse files
LOGBROKER-9215: fix use after move in http_proxy
1 parent 088b6d9 commit c05d064

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/http_proxy/http_service.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ namespace NKikimr::NHttpProxy {
103103

104104
try {
105105
auto signature = context.GetSignature();
106-
Processors->Execute(context.MethodName, std::move(context), std::move(signature), ctx);
106+
auto methodName = context.MethodName;
107+
Processors->Execute(std::move(context.MethodName), std::move(context), std::move(signature), ctx);
107108
} catch (const NKikimr::NSQS::TSQSException& e) {
108109
context.ResponseData.Status = NYdb::EStatus::BAD_REQUEST;
109110
context.ResponseData.ErrorText = e.what();

0 commit comments

Comments
 (0)