diff options
author | ishfb <ishfb@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
commit | 0170772a2dbf133f32e17ca137ff64790d43831f (patch) | |
tree | 68ce3ab477bcb9e09abf2b0a6e7b34287c53f0df /library/cpp/http/server/http.cpp | |
parent | df6128370874866447314ec18d8e67fc7bde40b4 (diff) | |
download | ydb-0170772a2dbf133f32e17ca137ff64790d43831f.tar.gz |
Restoring authorship annotation for <ishfb@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/http.cpp')
-rw-r--r-- | library/cpp/http/server/http.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp index 128583bdd7..f1d0fcc3a1 100644 --- a/library/cpp/http/server/http.cpp +++ b/library/cpp/http/server/http.cpp @@ -771,7 +771,7 @@ THttpServer* TClientRequest::HttpServ() const noexcept { const TSocket& TClientRequest::Socket() const noexcept { return Conn_->Socket_; } - + NAddr::IRemoteAddrRef TClientRequest::GetListenerSockAddrRef() const noexcept { return Conn_->ListenerSockAddrRef_; } @@ -780,21 +780,21 @@ TInstant TClientRequest::AcceptMoment() const noexcept { return Conn_->AcceptMoment; } -/* - * TRequestReplier - */ -TRequestReplier::TRequestReplier() { -} - -TRequestReplier::~TRequestReplier() { -} - -bool TRequestReplier::Reply(void* threadSpecificResource) { - const TReplyParams params = { +/* + * TRequestReplier + */ +TRequestReplier::TRequestReplier() { +} + +TRequestReplier::~TRequestReplier() { +} + +bool TRequestReplier::Reply(void* threadSpecificResource) { + const TReplyParams params = { threadSpecificResource, Input(), Output()}; - return DoReply(params); -} + return DoReply(params); +} bool TryToBindAddresses(const THttpServerOptions& options, const std::function<void(TSocket)>* callbackOnBoundAddress) { THttpServerOptions::TBindAddresses addrs; |