Roy Hyunjin Han
e98f98f9a2
Merge #48
2015-02-15 13:54:19 -05:00
Roy Hyunjin Han
0c6d4cd4d7
Fix #62
2015-02-15 11:35:06 -05:00
Roy Hyunjin Han
0c8dda1316
Ensure that recv timeout is less than heartbeat timeout #34
2015-02-15 11:18:57 -05:00
Roy Hyunjin Han
3aab1f1436
Merge conflicts
2015-02-15 10:50:20 -05:00
Roy Hyunjin Han
47b5f2dd69
Merge conflicts
2015-02-15 10:37:56 -05:00
Roy Hyunjin Han
18cf130d9e
Fix #40
2015-02-15 10:20:11 -05:00
Roy Hyunjin Han
b8f838b392
Merge #44
2015-02-15 08:56:13 -05:00
Roy Hyunjin Han
5f7937dc1e
Add stream=True #45
2015-02-15 08:48:27 -05:00
Adam Kecer
fc3a8b5e32
Update transports.py
...
Under p3k, this code throws NameError (because of the unicode() function)
This fix should be valid under both python2 and python3
2015-02-11 18:45:23 +01:00
Roy Hyunjin Han
c1e4924717
Merge pull request #37 from leth/patch-3
...
Catch AttributeError in client connected check
2015-01-09 22:15:36 +09:00
Roy Hyunjin Han
ee425459bd
Merge pull request #39 from bradjc/on-reconnect
...
Make on_reconnect callback functional
2015-01-09 22:14:58 +09:00
Roy Hyunjin Han
01f166db1e
Merge pull request #47 from Vodalys/unicode
...
Support unicode data in emit
2015-01-09 22:13:13 +09:00
Roy Hyunjin Han
315b795a91
Merge conflicts
2015-01-09 22:11:45 +09:00
Roy Hyunjin Han
698d083665
Merge pull request #60 from valhallasw/master
...
Python 3: use urllib.parse.urlparse
2015-01-09 20:35:58 +09:00
Roy Hyunjin Han
b394c8a55a
Merge contribution from leth
2015-01-09 20:23:31 +09:00
Roy Hyunjin Han
cdfbe55203
Merge pull request #55 from stackmagic/allow-nonstandart-resource
...
allow to pass in a different resource than just 'socket.io'
2015-01-09 20:07:54 +09:00
Roy Hyunjin Han
d73d6145f3
Merge pull request from drewhutchinson
2015-01-09 20:02:52 +09:00
Merlijn van Deen
f44485d3e2
Python 3: use urllib.parse.urlparse
2014-12-30 17:37:37 +01:00
Roy Hyunjin Han
a0b061cbdc
Use single quotes
2014-11-27 02:14:51 -05:00
Roy Hyunjin Han
9611d5d107
Merge pull request #57 from jorgen-k/master
...
Fix SSL timeout error thansk to jorgen-k
2014-11-26 22:43:16 -05:00
Roy Hyunjin Han
64d1c010a9
Update __init__.py
2014-11-18 10:42:57 -05:00
jorgen
b0d67b98af
Version bump
2014-09-23 06:27:27 +02:00
antonzy
e108c8a12a
Migrate to 3.4
2014-09-22 17:12:08 +03:00
antonzy
9a80988e26
Migrate to 3.4
2014-09-22 17:08:44 +03:00
jorgen
557edb8620
SSL Timeout error
2014-09-15 21:39:11 +02:00
Patrick Huber
9285f3da02
allow to pass in a different resource than just 'socket.io'
2014-07-28 09:09:59 +02:00
David Buchmann
20b15872ee
Fixed logging.WARNING typo
2014-06-26 14:42:25 +02: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
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
2013-11-20 08:17:44 -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 '
2013-11-17 13:40:36 -08:00
Travis Odom
43261b2347
Always send heartbeats to prevent server timeout
2013-11-12 19:11:38 -06: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
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