diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-09-22 16:12:01 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-09-22 16:12:01 +0200 |
| commit | df02bec2a1871267548494bc473711a0f9de9b43 (patch) | |
| tree | 9e1951fca316ecd0ad48ee7428a0b33bdd79d4f0 /src/common/network/Http | |
| parent | bb1cc8a48f8f3472ebdfdbaa6a97ec2e1c5190c8 (diff) | |
Core/Network: Minor include cleanup in SocketConnectionInitializer related files
Diffstat (limited to 'src/common/network/Http')
| -rw-r--r-- | src/common/network/Http/BaseHttpSocket.cpp | 3 | ||||
| -rw-r--r-- | src/common/network/Http/BaseHttpSocket.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/network/Http/BaseHttpSocket.cpp b/src/common/network/Http/BaseHttpSocket.cpp index f14c0c98a9e..1f264856ad1 100644 --- a/src/common/network/Http/BaseHttpSocket.cpp +++ b/src/common/network/Http/BaseHttpSocket.cpp @@ -16,6 +16,7 @@ */ #include "BaseHttpSocket.h" +#include "IpAddress.h" #include <boost/asio/buffers_iterator.hpp> #include <boost/beast/http/serializer.hpp> #include <boost/uuid/uuid_io.hpp> @@ -164,7 +165,7 @@ void AbstractSocket::LogRequestAndResponse(RequestContext const& context, Messag std::string AbstractSocket::GetClientInfo(boost::asio::ip::address const& address, uint16 port, SessionState const* state) { - std::string info = StringFormat("[{}:{}", address.to_string(), port); + std::string info = StringFormat("[{}:{}", address, port); if (state) { info.append(", Session Id: "); diff --git a/src/common/network/Http/BaseHttpSocket.h b/src/common/network/Http/BaseHttpSocket.h index c4d9c675de1..72b9fd6a9b7 100644 --- a/src/common/network/Http/BaseHttpSocket.h +++ b/src/common/network/Http/BaseHttpSocket.h @@ -129,8 +129,7 @@ struct HttpConnectionInitializer final : SocketConnectionInitializer { _socket->ResetHttpParser(); - if (this->next) - this->next->Start(); + this->InvokeNext(); } private: |
