Cable-Desktop/libtextsecure/test
lilia 7d3d634a2d Move/refactor keepalive logic and add disconnect timer
We now disconnect ourselves if we don't get the server's response to a
keepalive request within 30s. This way we will eventually disconnect if
the network goes away but the socket is not closed.*

* See code.google.com/p/chromium/issues/detail?id=197841 and
https://stackoverflow.com/questions/11755605/chrome-websocket-connection-not-closed-when-browser-closed

We will then try to reconnect once a minute (See 8a10c96);

Keepalives belong at this level anyway, since the format is defined by
both the websocket resource protocol and our specific server url
structure.

// FREEBIE
2015-07-16 15:01:34 -07:00
..
_test.js Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
blanket_mocha.js Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
contacts_parser_test.js Support for group sync 2015-06-25 13:24:32 -07:00
fake_api.js Rename textsecure.api and make it internal-only 2015-05-05 17:44:56 -07:00
generate_keys_test.js Move group storage to axolotl store 2015-05-06 17:49:23 -07:00
helpers_test.js Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
in_memory_axolotl_store.js Fix tests 2015-05-15 11:39:23 -07:00
index.html Add tests and bug fixes for ContactBuffer 2015-06-17 12:29:40 -07:00
message_receiver_test.js Move/refactor keepalive logic and add disconnect timer 2015-07-16 15:01:34 -07:00
protocol_test.js Implement sync protocol changes 2015-06-17 12:29:39 -07:00
protos Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
storage_test.js Fix tests 2015-05-15 11:39:23 -07:00
test.js Add mock-socket for testing socket stuff 2015-04-30 15:43:11 -07:00
websocket-resources_test.js Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
websocket_test.js Move/refactor keepalive logic and add disconnect timer 2015-07-16 15:01:34 -07:00