From b37aadb6fb078912dbf417fc166b1aeeabd1b249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 23 Nov 2015 19:40:34 +0000 Subject: Steam: Disable using persistent connection for PollRequest as it causes force disconnects (thanks Vulpix for tip) It might be reenabled in future again, we just need to make sure we're updating and cancelling it correctly in case we receive error or something. Now we remember the new response->nlc only in one branch of that if, which is obviously wrong, because we're trying to use the old nlc anyway without resetting it. But maybe Steam servers doesn't support the polling thread with persistent connection at all, it needs to be tested further. git-svn-id: http://svn.miranda-ng.org/main/trunk@15762 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/api/poll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Steam/src/api') diff --git a/protocols/Steam/src/api/poll.h b/protocols/Steam/src/api/poll.h index a196f35f1c..8dd795a4fa 100644 --- a/protocols/Steam/src/api/poll.h +++ b/protocols/Steam/src/api/poll.h @@ -8,7 +8,7 @@ public: HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v0001") { timeout = (STEAM_API_TIMEOUT + 5) * 1000; - flags |= NLHRF_PERSISTENT; + // flags |= NLHRF_PERSISTENT; CMStringA data; data.AppendFormat("access_token=%s&umqid=%s&message=%u&secidletime=%d§imeout=%d", -- cgit v1.2.3