From 98f8c41c5a5a17e108ffbde0256964c576bba64f Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Thu, 19 Feb 2015 18:08:58 +0000 Subject: VKontakte: full(???) ssl suport git-svn-id: http://svn.miranda-ng.org/main/trunk@12197 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/VKontakte/src/vk_thread.cpp') diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 01ebdf5e01..cc032a8d57 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -19,7 +19,7 @@ along with this program. If not, see . UINT_PTR CVkProto::m_timer; -char szBlankUrl[] = "http://api.vk.com/blank.html"; +char szBlankUrl[] = "https://oauth.vk.com/blank.html"; static char VK_TOKEN_BEG[] = "access_token="; static char VK_LOGIN_DOMAIN[] = "https://m.vk.com"; static char fieldsName[] = "id, first_name, last_name, photo_100, bdate, sex, timezone, contacts, online, status, about, domain"; @@ -942,7 +942,7 @@ int CVkProto::PollServer() NETLIBHTTPREQUEST req = { sizeof(req) }; req.requestType = REQUEST_GET; req.szUrl = mir_strdup(szReqUrl.GetBuffer()); - req.flags = VK_NODUMPHEADERS | NLHRF_PERSISTENT; + req.flags = VK_NODUMPHEADERS | NLHRF_PERSISTENT | NLHRF_HTTP11; req.timeout = 30000; req.nlc = m_pollingConn; -- cgit v1.2.3