diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:04:51 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-09-04 14:04:51 +0000 |
commit | bb81def84fd84bb6e762e556169ae081b67569f8 (patch) | |
tree | 20992bff1320bec1ce3b60b4a3b3cda3506c4219 /protocols/FacebookRM/src/requests | |
parent | 8234832e06e873df035270f162d7d151fbf6e7eb (diff) |
Facebook: Use persistent connection again
git-svn-id: http://svn.miranda-ng.org/main/trunk@17247 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/requests')
-rw-r--r-- | protocols/FacebookRM/src/requests/channel.h | 1 | ||||
-rw-r--r-- | protocols/FacebookRM/src/requests/login.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/requests/channel.h b/protocols/FacebookRM/src/requests/channel.h index 03f36241df..3e05e2c747 100644 --- a/protocols/FacebookRM/src/requests/channel.h +++ b/protocols/FacebookRM/src/requests/channel.h @@ -37,6 +37,7 @@ public: { if (type == PULL) { timeout = 65 * 1000; + Persistent = CHANNEL; } bool isPing = (type == PING); diff --git a/protocols/FacebookRM/src/requests/login.h b/protocols/FacebookRM/src/requests/login.h index 85a2da36c6..e067374d2b 100644 --- a/protocols/FacebookRM/src/requests/login.h +++ b/protocols/FacebookRM/src/requests/login.h @@ -37,6 +37,8 @@ public: LoginRequest(const char *username, const char *password, const char *urlData, const char *bodyData) : HttpRequest(REQUEST_POST, FACEBOOK_SERVER_LOGIN "/login.php") { + Persistent = NONE; + Url << "login_attempt=1" << urlData; // additional data parsed from form |