Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | reset WebsocketApp.sock | 0qdk4o | 2018-07-01 | 1 | -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-client | liris | 2018-08-14 | 1 | -1/+2 | |
|\ \ | ||||||
| * \ | Merge pull request #448 from mfitzpatrick/ping_thread_needs_enable_multithread | liris | 2018-08-14 | 1 | -1/+2 | |
| |\ \ | | | | | | | | | Enable multithreading protection with ping_interval | |||||
| | * | | Enable multithreading with ping_interval | Matt Fitzpatrick | 2018-06-27 | 1 | -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 docs | liris | 2018-08-14 | 1 | -0/+1 | |
|/ / | ||||||
* | | add docs | liris | 2018-08-14 | 1 | -0/+1 | |
| | | ||||||
* | | Merge pull request #446 from nneonneo/master | liris | 2018-08-14 | 1 | -8/+14 | |
|\ \ | | | | | | | Fix #414: proper handling of close method. | |||||
| * | | Fix #414: proper handling of close method. | Robert Xiao | 2018-06-19 | 1 | -8/+14 | |
| |/ | | | | | | | This patch fixes close() so that it properly waits for a CLOSE frame. | |||||
* | | fixed #HC-459 | liris | 2018-08-14 | 4 | -6/+12 | |
| | | ||||||
* | | add docs | liris | 2018-08-14 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #442 from bashlakov/fix-class-inheritance | liris | 2018-08-14 | 4 | -12/+127 | |
|\ \ | | | | | | | Patch WebSocketApp class to make it inheritable | |||||
| * | | fix README | Andrey Bashlakov | 2018-06-18 | 1 | -2/+2 | |
| | | | ||||||
| * | | Patch WebSocketApp class to make it inheritable | Andrey Bashlakov | 2018-06-18 | 4 | -12/+127 | |
| |/ | ||||||
* | | start v0.49.0 | liris | 2018-08-14 | 3 | -2/+4 | |
|/ | ||||||
* | fix formatv0.48.0 | Hiroki Ohtani | 2018-05-27 | 1 | -2/+10 | |
| | ||||||
* | release for 0.48.0 | Hiroki Ohtani | 2018-05-27 | 3 | -2/+13 | |
| | ||||||
* | remove some test assert | Hiroki Ohtani | 2018-05-27 | 1 | -4/+4 | |
| | ||||||
* | Merge pull request #427 from element-82/master | liris | 2018-05-27 | 1 | -1/+5 | |
|\ | | | | | _http.py: fix windows proxy error due to socktype | |||||
| * | _http.py: fix windows proxy error due to socktype | Paul Barrette | 2018-05-04 | 1 | -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_bug | liris | 2018-05-27 | 1 | -2/+0 | |
|\ \ | | | | | | | Fix For Issue #410 - setting keep_running to false has no effect | |||||
| * | | Close 410 | Chris Frey | 2018-04-11 | 1 | -2/+0 | |
| |/ | ||||||
* | | Merge pull request #417 from jhtitor/master | liris | 2018-05-27 | 2 | -2/+60 | |
|\ \ | | | | | | | socks5 via pysocks support | |||||
| * | | Add pysocks support. | jhtitor | 2018-03-30 | 2 | -2/+60 | |
| |/ | ||||||
* | | Merge pull request #415 from minus7/master | liris | 2018-05-27 | 3 | -4976/+12 | |
|\ \ | | | | | | | Load system default certificates if none are given | |||||
| * | | Remove bundled cacert.pem | minus | 2018-03-21 | 3 | -4975/+6 | |
| | | | ||||||
| * | | Check if SSLContext supports loading default certs | minus | 2018-03-21 | 1 | -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 given | minus | 2018-03-21 | 1 | -1/+6 | |
| |/ | ||||||
* | | Merge pull request #411 from shdown/master | liris | 2018-05-27 | 1 | -5/+12 | |
|\ \ | | | | | | | Fix waiting forever on ping/pong timeout | |||||
| * | | Check return value of read callback in dispatchers | shdown | 2018-03-22 | 1 | -2/+4 | |
| | | | ||||||
| * | | Fix waiting forever on ping/pong timeout | shdown | 2018-03-14 | 1 | -5/+10 | |
| |/ | ||||||
* | | Merge pull request #409 from hugobordigoni/master | liris | 2018-05-27 | 1 | -1/+1 | |
|\ \ | | | | | | | fix #408 | |||||
| * | | fix #408 | Hugo Bordigoni | 2018-03-01 | 1 | -1/+1 | |
| |/ | ||||||
* | | Merge pull request #403 from kevinxw/fix-websocket-status | liris | 2018-05-27 | 1 | -1/+2 | |
|\ \ | | | | | | | Fix the issue that websocket status message may not present | |||||
| * | | Fix the issue that websocket status message may not present | Kevin Wang | 2018-02-22 | 1 | -1/+2 | |
| |/ | ||||||
* | | Merge pull request #400 from Nagasaki45/master | liris | 2018-05-27 | 1 | -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 #341 | Tom Gurion | 2018-02-21 | 1 | -0/+1 | |
|/ | ||||||
* | add documentv0.47.0 | Hiroki Ohtani | 2018-02-16 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'Mottl-status_message' | Hiroki Ohtani | 2018-02-16 | 4 | -8/+11 | |
|\ | ||||||
| * | Merge branch 'status_message' of https://github.com/Mottl/websocket-client ↵ | Hiroki Ohtani | 2018-02-16 | 4 | -8/+11 | |
| |\ |/ / | | | | | into Mottl-status_message | |||||
| * | Added status message when HTTP can't be upgraded to WS | Dmitry Mottl | 2018-02-14 | 4 | -8/+11 | |
| | | ||||||
* | | add document | Hiroki Ohtani | 2018-02-16 | 1 | -0/+1 | |
| | | ||||||
* | | Merge branch 'tianhuyang-master' | Hiroki Ohtani | 2018-02-16 | 1 | -0/+2 | |
|\ \ | ||||||
| * \ | Merge branch 'master' of https://github.com/tianhuyang/websocket-client into ↵ | Hiroki Ohtani | 2018-02-16 | 1 | -0/+2 | |
| |\ \ |/ / / | | | | | | | tianhuyang-master | |||||
| * | | fix #395 | Tianhu Yang | 2018-02-13 | 1 | -0/+2 | |
| |/ | ||||||
* | | Merge pull request #398 from Mottl/ssl_issue | liris | 2018-02-14 | 1 | -0/+1 | |
|\ \ | |/ |/| | Fixed issue #397 with ssl import | |||||
| * | Fixed issue #397 with ssl import | Dmitry Mottl | 2018-02-14 | 1 | -0/+1 | |
|/ | ||||||
* | add doc | Hiroki Ohtani | 2018-02-09 | 1 | -0/+1 | |
| | ||||||
* | fixed #386 | Hiroki Ohtani | 2018-02-09 | 3 | -12/+37 | |
| | ||||||
* | Merge branch 'master' of https://github.com/websocket-client/websocket-client | Hiroki Ohtani | 2018-02-09 | 3 | -3/+2 | |
|\ | ||||||
| * | fix version | 脇坂 友貴 | 2018-02-01 | 3 | -6/+3 | |
| | |