diff options
author | George Hazan <george.hazan@gmail.com> | 2024-12-15 22:46:14 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-12-15 22:46:14 +0300 |
commit | 83e4efbbf5f9aca0a46e2687318eb3c9086eb491 (patch) | |
tree | e8eb719fe2a6d1003d966c9f5bec45dba40d085e /protocols/Steam/src/steam_ws.cpp | |
parent | 41dd36073f850e180d23924b3a6f7749ccd17e4a (diff) |
old requests mechanism removed
Diffstat (limited to 'protocols/Steam/src/steam_ws.cpp')
-rw-r--r-- | protocols/Steam/src/steam_ws.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/protocols/Steam/src/steam_ws.cpp b/protocols/Steam/src/steam_ws.cpp index 4071bd5d63..f7a1112add 100644 --- a/protocols/Steam/src/steam_ws.cpp +++ b/protocols/Steam/src/steam_ws.cpp @@ -154,20 +154,6 @@ void CSteamProto::ProcessMessage(const uint8_t *buf, size_t cbLen) if (hdr->has_client_sessionid) m_iSessionId = hdr->client_sessionid; - MsgCallback pCallback = 0; - { - mir_cslock lck(m_csRequests); - if (auto *pReq = m_arRequests.find((ProtoRequest *)&hdr->jobid_target)) { - pCallback = pReq->pCallback; - m_arRequests.remove(pReq); - } - } - - if (pCallback) { - (this->*pCallback)(buf, cbLen); - return; - } - // persistent callbacks switch (msgType) { case EMsg::ClientLogOnResponse: @@ -184,6 +170,7 @@ void CSteamProto::ProcessMessage(const uint8_t *buf, size_t cbLen) break; default: + debugLogA("Received message of type %d", msgType); Netlib_Dump(HNETLIBCONN(m_ws->getConn()), buf, cbLen, false, 0); } } |