diff options
| author | svshevtsov <[email protected]> | 2022-02-10 16:49:37 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:37 +0300 | 
| commit | de89752358147d7b25ef59a85b431bb564068a49 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server | |
| parent | 657337012a264721d58c470b4e9e796611f3c492 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server')
| -rw-r--r-- | library/cpp/http/server/http.cpp | 8 | ||||
| -rw-r--r-- | library/cpp/http/server/http.h | 2 | ||||
| -rw-r--r-- | library/cpp/http/server/options.cpp | 2 | ||||
| -rw-r--r-- | library/cpp/http/server/options.h | 4 | 
4 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp index dca5c828cf3..128583bdd70 100644 --- a/library/cpp/http/server/http.cpp +++ b/library/cpp/http/server/http.cpp @@ -212,7 +212,7 @@ public:      void Wait() {          Cb_->OnWait(); -        TGuard<TMutex> g(StopMutex);  +        TGuard<TMutex> g(StopMutex);          if (ListenThread) {              ListenThread->Join();              ListenThread.Reset(nullptr); @@ -222,7 +222,7 @@ public:      void Stop() {          Shutdown(); -        TGuard<TMutex> g(StopMutex);  +        TGuard<TMutex> g(StopMutex);          if (ListenThread) {              ListenThread->Join();              ListenThread.Reset(nullptr); @@ -457,7 +457,7 @@ public:      ICallBack* Cb_ = nullptr;      THttpServer* Parent_ = nullptr;      TWakeupPollAble WakeupPollAble; -    TMutex StopMutex;  +    TMutex StopMutex;  private:      template <class TThreadPool_> @@ -629,7 +629,7 @@ bool TClientRequest::Reply(void* /*ThreadSpecificResource*/) {      return true;  } -bool TClientRequest::IsLocal() const {  +bool TClientRequest::IsLocal() const {      return HasLocalAddress(Socket());  } diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index 2a9f6c0872f..b292d38f270 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -122,7 +122,7 @@ public:      NAddr::IRemoteAddrRef GetListenerSockAddrRef() const noexcept;      TInstant AcceptMoment() const noexcept; -    bool IsLocal() const;  +    bool IsLocal() const;      bool CheckLoopback();      void ProcessFailRequest(int failstate); diff --git a/library/cpp/http/server/options.cpp b/library/cpp/http/server/options.cpp index 50137572cb8..05c954384a2 100644 --- a/library/cpp/http/server/options.cpp +++ b/library/cpp/http/server/options.cpp @@ -38,6 +38,6 @@ void THttpServerOptions::BindAddresses(TBindAddresses& ret) const {      }      if (ret.empty()) { -        ret.push_back(Host ? TNetworkAddress(Host, Port) : TNetworkAddress(Port));  +        ret.push_back(Host ? TNetworkAddress(Host, Port) : TNetworkAddress(Port));      }  } diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h index 31214de4c53..38eda0e5e78 100644 --- a/library/cpp/http/server/options.h +++ b/library/cpp/http/server/options.h @@ -68,14 +68,14 @@ public:          return *this;      } -    /// Default interface name to bind the server. Used when none of BindAddress are provided.  +    /// Default interface name to bind the server. Used when none of BindAddress are provided.      inline THttpServerOptions& SetHost(const TString& host) noexcept {          Host = host;          return *this;      } -    /// Default port to bind the server. Used when none of BindAddress are provided.  +    /// Default port to bind the server. Used when none of BindAddress are provided.      inline THttpServerOptions& SetPort(ui16 port) noexcept {          Port = port;  | 
