summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-11-23 19:40:34 +0000
committerRobert Pösel <robyer@seznam.cz>2015-11-23 19:40:34 +0000
commitb37aadb6fb078912dbf417fc166b1aeeabd1b249 (patch)
tree178b1981c61bbfa0bc2e8968415ec7ffd1a4f51e /protocols/Steam/src/api
parent44ac2cea0d7dee5b2fdd085d3a4051d844b18728 (diff)
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
Diffstat (limited to 'protocols/Steam/src/api')
-rw-r--r--protocols/Steam/src/api/poll.h2
1 files changed, 1 insertions, 1 deletions
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&sectimeout=%d",