Skip to content

Commit 1e11982

Browse files
fix use after move in http_proxy (#7885)
1 parent 6be4149 commit 1e11982

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)