summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * reset WebsocketApp.sock0qdk4o2018-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | consider the following snap ```python def ws_on_message(ws, message): msg = json.loads(message) if msg.get("restart"): ws.close() wsapp = websocket.WebSocketApp(url, on_message=ws_on_message, ...) while True: wsapp.run_forever() ``` expect restart the connection after receiving restart signal from server. but we will receive exception `WebSocketException("socket is already opened")` because the method `ws.close()` only close `ws.sock.sock.close()` and reset `ws.sock.sock = None` underlying network socket. noting to do with the ws.sock, it will remeber the previous instance that already invalid now.
* | Merge branch 'master' of https://github.com/websocket-client/websocket-clientliris2018-08-141-1/+2
|\ \
| * \ Merge pull request #448 from mfitzpatrick/ping_thread_needs_enable_multithreadliris2018-08-141-1/+2
| |\ \ | | | | | | | | Enable multithreading protection with ping_interval
| | * | Enable multithreading with ping_intervalMatt Fitzpatrick2018-06-271-1/+2
| | |/ | | | | | | | | | | | | If the user sets ping_interval, then threading safety must be enabled with the WebSocket object so network sends do not potentially collide.
* | | add docsliris2018-08-141-0/+1
|/ /
* | add docsliris2018-08-141-0/+1
| |
* | Merge pull request #446 from nneonneo/masterliris2018-08-141-8/+14
|\ \ | | | | | | Fix #414: proper handling of close method.
| * | Fix #414: proper handling of close method.Robert Xiao2018-06-191-8/+14
| |/ | | | | | | This patch fixes close() so that it properly waits for a CLOSE frame.
* | fixed #HC-459liris2018-08-144-6/+12
| |
* | add docsliris2018-08-141-0/+2
| |
* | Merge pull request #442 from bashlakov/fix-class-inheritanceliris2018-08-144-12/+127
|\ \ | | | | | | Patch WebSocketApp class to make it inheritable
| * | fix READMEAndrey Bashlakov2018-06-181-2/+2
| | |
| * | Patch WebSocketApp class to make it inheritableAndrey Bashlakov2018-06-184-12/+127
| |/
* | start v0.49.0liris2018-08-143-2/+4
|/
* fix formatv0.48.0Hiroki Ohtani2018-05-271-2/+10
|
* release for 0.48.0Hiroki Ohtani2018-05-273-2/+13
|
* remove some test assertHiroki Ohtani2018-05-271-4/+4
|
* Merge pull request #427 from element-82/masterliris2018-05-271-1/+5
|\ | | | | _http.py: fix windows proxy error due to socktype
| * _http.py: fix windows proxy error due to socktypePaul Barrette2018-05-041-1/+5
| | | | | | | | | | | | | | | | | | | | Resolves #426 When running on windows 10 with a proxy, there is a connect error: _on_error: exception Socket type must be stream or datagram, not 0 This commit fixes that issue. Signed-off-by: Paul Barrette <paulbarrette@gmail.com>
* | Merge pull request #419 from shmal/410_fix_keep_running_bugliris2018-05-271-2/+0
|\ \ | | | | | | Fix For Issue #410 - setting keep_running to false has no effect
| * | Close 410Chris Frey2018-04-111-2/+0
| |/
* | Merge pull request #417 from jhtitor/masterliris2018-05-272-2/+60
|\ \ | | | | | | socks5 via pysocks support
| * | Add pysocks support.jhtitor2018-03-302-2/+60
| |/
* | Merge pull request #415 from minus7/masterliris2018-05-273-4976/+12
|\ \ | | | | | | Load system default certificates if none are given
| * | Remove bundled cacert.pemminus2018-03-213-4975/+6
| | |
| * | Check if SSLContext supports loading default certsminus2018-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | This changes behavior. When creating a TLS connection, not specifying cacert/capath and while on a Python version without load_default_certs, creating the socket will not fail as before, but verifying the connection will fail instead.
| * | Load system default certificates if none are givenminus2018-03-211-1/+6
| |/
* | Merge pull request #411 from shdown/masterliris2018-05-271-5/+12
|\ \ | | | | | | Fix waiting forever on ping/pong timeout
| * | Check return value of read callback in dispatchersshdown2018-03-221-2/+4
| | |
| * | Fix waiting forever on ping/pong timeoutshdown2018-03-141-5/+10
| |/
* | Merge pull request #409 from hugobordigoni/masterliris2018-05-271-1/+1
|\ \ | | | | | | fix #408
| * | fix #408Hugo Bordigoni2018-03-011-1/+1
| |/
* | Merge pull request #403 from kevinxw/fix-websocket-statusliris2018-05-271-1/+2
|\ \ | | | | | | Fix the issue that websocket status message may not present
| * | Fix the issue that websocket status message may not presentKevin Wang2018-02-221-1/+2
| |/
* | Merge pull request #400 from Nagasaki45/masterliris2018-05-271-0/+1
|\ \ | |/ |/| Add NullHandler to logger to fix python 2 issue. Fix #342 Fix #341
| * Add NullHandler to logger to fix python 2 issue. Fix #342 Fix #341Tom Gurion2018-02-211-0/+1
|/
* add documentv0.47.0Hiroki Ohtani2018-02-161-0/+1
|
* Merge branch 'Mottl-status_message'Hiroki Ohtani2018-02-164-8/+11
|\
| * Merge branch 'status_message' of https://github.com/Mottl/websocket-client ↵Hiroki Ohtani2018-02-164-8/+11
| |\ |/ / | | | | into Mottl-status_message
| * Added status message when HTTP can't be upgraded to WSDmitry Mottl2018-02-144-8/+11
| |
* | add documentHiroki Ohtani2018-02-161-0/+1
| |
* | Merge branch 'tianhuyang-master'Hiroki Ohtani2018-02-161-0/+2
|\ \
| * \ Merge branch 'master' of https://github.com/tianhuyang/websocket-client into ↵Hiroki Ohtani2018-02-161-0/+2
| |\ \ |/ / / | | | | | | tianhuyang-master
| * | fix #395Tianhu Yang2018-02-131-0/+2
| |/
* | Merge pull request #398 from Mottl/ssl_issueliris2018-02-141-0/+1
|\ \ | |/ |/| Fixed issue #397 with ssl import
| * Fixed issue #397 with ssl importDmitry Mottl2018-02-141-0/+1
|/
* add docHiroki Ohtani2018-02-091-0/+1
|
* fixed #386Hiroki Ohtani2018-02-093-12/+37
|
* Merge branch 'master' of https://github.com/websocket-client/websocket-clientHiroki Ohtani2018-02-093-3/+2
|\
| * fix version脇坂 友貴2018-02-013-6/+3
| |