diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_pollserver.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_pollserver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp index 5be1d266a8..c257bdf08c 100644 --- a/protocols/VKontakte/src/vk_pollserver.cpp +++ b/protocols/VKontakte/src/vk_pollserver.cpp @@ -260,6 +260,11 @@ int CVkProto::PollServer() req.timeout = 30000;
req.nlc = m_pollingConn;
+ {
+ mir_cslock lck(m_csPoolThreadTimer);
+ m_tPoolThreadTimer = time(0);
+ }
+
while ((reply = Netlib_HttpTransaction(m_hNetlibUser, &req)) == nullptr) {
debugLogA("CVkProto::PollServer is dead");
ClosePollingConnection();
|