summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_polling.cpp
AgeCommit message (Collapse)Author
2015-12-22Steam: Various fixes to loading offline messagesRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-21Steam: Implement loading history/offline messages at login (finally!)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Support for receiving "user left conversation" events (like jabber has)Robert Pösel
Miranda is NOT sending this event, maybe in future if there is exists such request from mobile/web steam. git-svn-id: http://svn.miranda-ng.org/main/trunk@15903 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Remove unused 'isTerminated' property of CSteamProtoRobert Pösel
This also fixes incorrect quit from PollingThread, because it was previously checking this isTerminated property, which was always false. There is also other isTerminated property - but of RequestQueue - so maybe that's why was there this confusion. git-svn-id: http://svn.miranda-ng.org/main/trunk@15902 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Fix ability to switch protocol to offlineRobert Pösel
Do relogin in PollingThread only if we still want to be online. Because we might call logout from Steam servers before we quit polling thread - so we always get at least one "Not Logged On" error. This commit stops doing relogin when our m_iStatus is already offline. git-svn-id: http://svn.miranda-ng.org/main/trunk@15901 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Try to login again on PollThread's "Not Logged On" errorRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15897 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Simplify errors checking in PollingThread (remove variable "breaked")Robert Pösel
And previous commit (r15373) was indeed correct, I missed the switched logic. But I think the change (r15895) makes it more readable anyway. git-svn-id: http://svn.miranda-ng.org/main/trunk@15896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-19Steam: Fix handling errors in PollingThread processing (broken in r15373)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@15895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-11-23Steam: Disable using persistent connection for PollRequest as it causes ↵Robert Pösel
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
2015-11-09Steam: Add hidden setting "PollingErrorsLimit" (byte) for setting how many ↵Robert Pösel
times polling tries before giving up, and raise default value from 3 to 5 git-svn-id: http://svn.miranda-ng.org/main/trunk@15706 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-10-24Steam:Alexander Lantsev
- remove custom db event adding - add charset utf-8 to some of requests git-svn-id: http://svn.miranda-ng.org/main/trunk@15607 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-19Steam: attempt to fix #1041Alexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15396 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-18oopsAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c