diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-19 18:08:58 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-19 18:08:58 +0000 |
commit | 98f8c41c5a5a17e108ffbde0256964c576bba64f (patch) | |
tree | 22fea5359708e30bf0492e483325751a86bab14a /protocols/VKontakte/src/vk_thread.cpp | |
parent | e94cc74b91cf4a409e2987160ab9a936cec5585e (diff) |
VKontakte: full(???) ssl suport
git-svn-id: http://svn.miranda-ng.org/main/trunk@12197 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. 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;
|