Commit graph

187 commits

Author SHA1 Message Date
David Buchmann
20b15872ee Fixed logging.WARNING typo 2014-06-26 14:42:25 +02:00
Krenair
3d12aa8a28 Check for ImportError rather than any exception 2014-05-11 16:32:29 +01:00
Krenair
c35316f158 Run under Python 3
This will make the code I wrote in :
http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076373.html
actually work in modern versions of Python.
2014-05-11 15:54:18 +01:00
Frédéric Sureau
f182df8580 Implement transports fallback 2014-03-25 16:18:19 +01:00
fredericsureau
6a5a35d84d Force packets encoding to utf-8 2014-03-21 18:02:03 +01:00
Frédéric Sureau
c82a8301bb Use HTTP headers for Websocket connection 2014-02-25 14:56:44 +01:00
drewhutchison
8f97e73bac check for exit condition before transport reconnects 2014-02-12 15:07:36 -07:00
Brad Campbell
e16652c4cc Make on_reconnect callback functional
Previously, if the socket.io connection got interrupted and reconnected
the on_connect callback got called again. I noticed that there is a
on_reconnect function to overide in the base namespace class, but since
there is no socket.io command corresponding to on_reconnect it never
gets called.

This commit adds a check to see if we have been connected before, and if
so, calls the on_reconnect callback instead of the on_connect callback agin.
2014-01-10 18:29:57 -05:00
Daniel
6bef8c0009 heartbeat_time independent from elapse_time 2014-01-01 14:48:15 +01:00
Marcus Cobden
fa454b5950 Catch AttributeError in client connected check
If the client has never connected, there will be no __transport attribute.
2013-12-23 13:46:37 +00:00
David Buchmann
09199c10df Add context aware logmessages to the socketio client 2013-12-17 18:29:46 +01:00
Marcus Cobden
d05683262b Pass on wait timeout to underlying transports 2013-12-09 10:16:22 +00:00
Marcus Cobden
13ffc8cf7f Do not suppress KeyboardInterrupt exceptions
The encompassing application should be responsible for handling the KeyboardInterrupt exception
2013-12-09 09:56:36 +00:00
Roy Hyunjin Han
2e2496cd4c Merge pull request #32 from Vodalys/reconnect_namespaces
Automatically reconnect transport to existing namespaces
2013-11-21 08:00:34 -08:00
Frédéric Sureau
9c1766b806 Automatically reconnect transport to existing namespaces 2013-11-21 16:20:45 +01:00
Roy Hyunjin Han
68d9639a56 Removed extra debugging statements v0.5.3 2013-11-20 08:17:44 -08:00
Roy Hyunjin Han
3c73bc9b55 Added TODO 2013-11-20 08:16:03 -08:00
Roy Hyunjin Han
38e72dc304 Fixed calling on_connect() so that it is called only once; fixes #31 2013-11-20 08:07:12 -08:00
Roy Hyunjin Han
5ccb32f338 Exit the loop if the client wants to disconnect; fixes #30 2013-11-18 10:43:31 -08:00
Roy Hyunjin Han
1506e22458 Set heartbeat_interval to half of the heartbeat_timeout 2013-11-18 09:45:09 -08:00
Roy Hyunjin Han
e7529e5487 Replaced secure=True with host='https://example.com' v0.5.2 2013-11-17 13:40:36 -08:00
Roy Hyunjin Han
a60e19fb54 Merge pull request #28 from Burstaholic/master
Always send heartbeats to prevent server timeout; fixes #29
2013-11-17 12:46:29 -08:00
Travis Odom
43261b2347 Always send heartbeats to prevent server timeout 2013-11-12 19:11:38 -06:00
Roy Hyunjin Han
579d0493d8 Added instructions for debugging information 2013-11-12 09:51:05 -08:00
Roy Hyunjin Han
1a16e98d32 Updated README 2013-11-07 06:55:37 -08:00
Roy Hyunjin Han
81c6d513a5 Updated CHANGES v0.5.1 2013-11-06 18:35:09 -08:00
Roy Hyunjin Han
e75fbeb2e3 Added test to cover #25 2013-11-06 18:29:26 -08:00
Roy Hyunjin Han
65c4160c8e Fixes #25 2013-11-06 10:26:49 -08:00
Roy Hyunjin Han
13b482e075 Fixes #24 2013-11-06 09:57:28 -08:00
Roy Hyunjin Han
1a3e1270dd Raw unicode literals are not supported in Python3 2013-11-03 18:28:57 -08:00
Roy Hyunjin Han
2c381142d4 Updated CHANGES v0.5 2013-11-03 17:50:03 -08:00
Roy Hyunjin Han
7c18bc5dfc Added credits 2013-11-03 17:35:32 -08:00
Roy Hyunjin Han
be05a0699f Updated README 2013-11-03 17:23:09 -08:00
Roy Hyunjin Han
0751dc3484 Fixed _JSONP_PollingTransport 2013-11-03 17:16:59 -08:00
Roy Hyunjin Han
28cfadc593 Fixed _XHR_PollingTransport 2013-11-03 15:03:34 -08:00
Roy Hyunjin Han
018e566049 Debugging alternate transports 2013-11-03 11:59:54 -08:00
Roy Hyunjin Han
096d41c072 Fixes #23 #21 #20 #18 2013-11-03 01:01:29 -08:00
Roy Hyunjin Han
d97afb9d2a Updated goals 2013-11-01 16:14:23 -07:00
Roy Hyunjin Han
3c04878dfe Updated MANIFEST.in 2013-10-11 06:50:48 -07:00
Roy Hyunjin Han
9cb0c51573 Updated TODO 2013-07-18 18:27:42 -07:00
Roy Hyunjin Han
9a13cd5fb7 Fixes #17 2013-05-08 00:36:09 -07:00
Roy Hyunjin Han
01f1d0d06c Updated README v0.4 2013-04-26 10:27:51 -07:00
Roy Hyunjin Han
f9e093efbb Fixes #7 and #16 2013-04-26 10:19:41 -07:00
Roy Hyunjin Han
1fc0316541 Fixes #15 2013-04-26 09:54:10 -07:00
Roy Hyunjin Han
4f7185b074 Merged 0.4 2013-04-26 09:42:16 -07:00
Roy Hyunjin Han
a84f2f40bb Updated CHANGES 2013-04-26 09:39:42 -07:00
Roy Hyunjin Han
77a8e72c1f Fixes #6 2013-04-26 09:34:47 -07:00
Roy Hyunjin Han
18d2a1ea8c Added support for acks thanks to zratic 2013-04-24 09:58:30 -07:00
Roy Hyunjin Han
61918597b7 Updated README 2013-04-18 09:26:23 -07:00
Roy Hyunjin Han
fc2ddfe46b Updated README 2013-04-18 09:25:37 -07:00