diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-10 16:13:20 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-10 16:13:20 +0000 |
commit | 7177cd4cc38bb73338631381b802a7f7f6845f62 (patch) | |
tree | 829b720d576e3d0811da04f646ccf4cfaa66024b /protocols/SkypeWeb/src/requests/trouter.h | |
parent | 9356d0a22b3674d2ae6b1f157abb0bdf11f82dca (diff) |
SkypeWeb: removed persistent connection flag
git-svn-id: http://svn.miranda-ng.org/main/trunk@15529 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/trouter.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/trouter.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/requests/trouter.h b/protocols/SkypeWeb/src/requests/trouter.h index 0f8cd6e8d2..0a705eeafc 100644 --- a/protocols/SkypeWeb/src/requests/trouter.h +++ b/protocols/SkypeWeb/src/requests/trouter.h @@ -21,9 +21,7 @@ public: CreateTrouterRequest() :
HttpRequest(REQUEST_POST, "go.trouter.io/v2/a")
{
- Headers
- << CHAR_VALUE("Accept", "application/json, text/javascript, text/html,application/xhtml+xml, application/xml");
- //{"secure":true,"ccid":"huzHTfsZt3wZ","connId":"AUKRNgA8_eKV0Ibsx037Gbd8GVrsDg8zLQRt1pH8sCyIAile3gtoWmlq2x1yZ_VNZ3tf","healthUrl":"https://go.trouter.io:443/v2/h","id":"QpE2ADz94pXQhuzHTfsZt3wZ","instance":"193.149.88.131","instancePort":443,"socketio":"https://193-149-88-131.drip.trouter.io:443/","surl":"https://193-149-88-131.drip.trouter.io:8443/v2/f/QpE2ADz94pXQhuzHTfsZt3wZ/","url":"https://193-149-88-131.drip.trouter.io:443/v2/f/QpE2ADz94pXQhuzHTfsZt3wZ/"}
+ Headers << CHAR_VALUE("Accept", "application/json, text/javascript, text/html,application/xhtml+xml, application/xml");
}
};
@@ -133,8 +131,7 @@ public: const std::string &instance, const std::string &ccid, const std::string &sessId) :
HttpRequest(REQUEST_GET, FORMAT, "%ssocket.io/1/xhr-polling/%s", socketio.c_str(), sessId.c_str())
{
- timeout = INFINITE;
- flags |= NLHRF_PERSISTENT;
+ timeout = 60000;
Url
<< CHAR_VALUE("sr", sr.c_str())
<< CHAR_VALUE("issuer", "edf")
|