Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove broken websockets.org links from documentation | engn33r | 2022-10-25 | 1 | -1/+1 |
| | |||||
* | Linting improvements, improved flake8 linting CI cmd | engn33r | 2022-02-25 | 1 | -15/+10 |
| | |||||
* | fix!: `WebSocketApp.run_forever()` returning `None` after `close()` is ↵ | FujiApple | 2022-02-25 | 1 | -2/+4 |
| | | | | | | | | | | | | | called (#788) * fix!: `WebSocketApp.run_forever()` returning `None` after `close()` is called BREAKING CHANGE: the return value of `WebSocketApp.run_forever()` will no longer return the (undocumented) `None` value. * fix(tests): replace the defunct `wss://stream.meetup.com/2/rsvps` with `wss://api.bitfinex.com/ws/2` in several tests * test: added two new local server tests to cover the changes in #785 * Remove newline to fix lint error | ||||
* | Replace deprecated stream.meetup.com, echo.websocket.org endpoint URLs | engn33r | 2022-02-25 | 1 | -2/+2 |
| | |||||
* | Update copyright year to 2022 | engn33r | 2021-12-31 | 1 | -1/+1 |
| | |||||
* | Minor test improvements for better code coverage | engn33r | 2021-12-13 | 1 | -0/+1 |
| | |||||
* | Fix SSL test errors from ssl.PROTOCOL_TLS_CLIENT change | engn33r | 2021-11-22 | 1 | -3/+2 |
| | |||||
* | Py2->3: simplify class definition (#750) | 谭九鼎 | 2021-10-20 | 1 | -1/+1 |
| | | | Remove implied and redundant object class type declarations | ||||
* | Improve usage of LOCAL_WS_SERVER_PORT | engn33r | 2021-08-14 | 1 | -5/+5 |
| | |||||
* | Improve unit tests with LOCAL_WS_SERVER_PORT variable | engn33r | 2021-08-13 | 1 | -13/+14 |
| | |||||
* | Fix python-socks dependency and replace echo.websocket.org in tests | engn33r | 2021-08-11 | 1 | -5/+5 |
| | | | | | | | | The recent addition of python-socks required it to be a dependency. This was mentioned in #728. Additional changes were made to prevent python-socks from becoming a required dependency for every install, so now it is only required for SOCKS proxy usage. Additionally, because echo.websockets.org was experiencing downtime issues during this fix, echo.websockets.org was replaced in unit tests with a local echo server from the Python websockets library. This should speed up tests, avoid test errors cause by external website downtime, and reduce traffic to echo.websocket.org caused by this project. | ||||
* | Transition from LGPL 2.1 license to Apache 2.0 - fix #697 | engn33r | 2021-08-10 | 1 | -13/+11 |
| | |||||
* | Minor code coverage unit test improvement | engn33r | 2021-06-08 | 1 | -2/+9 |
| | |||||
* | Revert exception handling from 13e83b4 | engn33r | 2021-05-21 | 1 | -1/+1 |
| | |||||
* | Fix unit test for raising error in close() | engn33r | 2021-05-17 | 1 | -4/+2 |
| | |||||
* | Improve _abnf.py and _http.py test coverage | engn33r | 2021-05-16 | 1 | -16/+20 |
| | |||||
* | Add test case with sslopt settings | engn33r | 2021-05-15 | 1 | -3/+6 |
| | |||||
* | Improve unittest code coverage | engn33r | 2021-05-15 | 1 | -0/+31 |
| | |||||
* | Minor _core.py test coverage improvement | engn33r | 2021-05-12 | 1 | -1/+4 |
| | |||||
* | Add status code examples to docs, improve unit tests | engn33r | 2021-05-06 | 1 | -0/+2 |
| | |||||
* | Remove six dependency and transition related code to Python3 | engn33r | 2021-05-05 | 1 | -4/+1 |
| | |||||
* | First pass removing Python 2 code, mostly six dependency | engn33r | 2021-05-04 | 1 | -56/+37 |
| | |||||
* | PEP8 style compliance fixes | engn33r | 2021-05-04 | 1 | -3/+1 |
| | |||||
* | Improve _core.py test coverage | engn33r | 2021-03-29 | 1 | -26/+20 |
| | |||||
* | Add unit test for PR #627 | engn33r | 2021-03-29 | 1 | -0/+4 |
| | |||||
* | Improve _app.py code coverage | engn33r | 2021-03-28 | 1 | -74/+0 |
| | |||||
* | Match no proxy on domain and * (#671) | Codeglitches | 2021-03-22 | 1 | -180/+0 |
| | | | | | | | | | * Extract url test methods and classes to separate test module * Fix: Restore no_proxy environment variable after tests * Fix: is_address_in_network does not pass simple unittests * Match no_proxy on * and domains | ||||
* | Replace TravisCI with GitHub Actions | engn33r | 2021-02-27 | 1 | -2/+2 |
| | |||||
* | Replace deprecated assertEquals() with assertEqual() | engn33r | 2021-02-27 | 1 | -1/+1 |
| | | | | | | The plural 'assertEquals()' is deprecated in Python 3 and triggers a warning during CI: https://docs.python.org/3/library/unittest.html#deprecated-aliases | ||||
* | Fix #526 by reverting invalid BSD license migration in commit e94ed9e to ↵ | engn33r | 2021-02-22 | 1 | -0/+24 |
| | | | | return to LGPL2.1 | ||||
* | Merge pull request #647 from seratch/fix-build-failure | engn33r | 2021-01-26 | 1 | -2/+2 |
|\ | | | | | Fix failing TravisCI builds | ||||
| * | Fix the failing tests (testIter, testNext) | Kazuhiro Sera | 2020-11-27 | 1 | -2/+2 |
| | | |||||
* | | Fix None.lower() when sec-websocket-protocol response header does not exist | anuragbeniwal | 2020-05-08 | 1 | -0/+2 |
|/ | | | | Fix for https://github.com/websocket-client/websocket-client/issues/516 | ||||
* | Don't retry sockets with timeout set to 0 | Trygve Aaberge | 2019-03-20 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | For non-blocking sockets with the timeout set to 0, the select call in _recv and _send will return immediately without the socket being ready. This causes _recv to return None, which makes recv close the connection. Since a select with a timeout of 0 right after recv/send is pointless, just skip _recv and _send when timeout is 0. As for the handling of SSLWantReadError, SSLWantWriteError, EAGAIN and EWOULDBLOCK in _recv/_send, websocket-client can't handle these without blocking. Since applications which has timeout set to 0 don't want websocket-client to block them, they have to handle those errors themselves. Fixes #535 | ||||
* | revert #442v0.51.0 | liris | 2018-08-19 | 1 | -22/+0 |
| | |||||
* | fixed Attribute error on close app | liris | 2018-08-14 | 1 | -1/+1 |
| | |||||
* | Patch WebSocketApp class to make it inheritable | Andrey Bashlakov | 2018-06-18 | 1 | -2/+24 |
| | |||||
* | remove some test assert | Hiroki Ohtani | 2018-05-27 | 1 | -4/+4 |
| | |||||
* | Added status message when HTTP can't be upgraded to WS | Dmitry Mottl | 2018-02-14 | 1 | -1/+1 |
| | |||||
* | fixed #386 | Hiroki Ohtani | 2018-02-09 | 1 | -4/+6 |
| | |||||
* | pass ssl test | liris | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | 0.44.0v0.44.0 | liris | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | fixed #264 | liris | 2016-12-02 | 1 | -1/+1 |
| | |||||
* | _url: Added subnet IP address matching in no_proxy host detection | Miacz | 2016-09-20 | 1 | -2/+5 |
| | |||||
* | wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise imports | Allan Lewis | 2016-04-27 | 1 | -19/+18 |
| | | | | | | | | | | | | | | Previously, because of the multiple instances of `from foo import *`, names were imported from modules that had themselves imported them, instead of from the place of definition. This commit therefore does the following: - Declares `__all__` in every module that imports anything, so that `from foo import *` is sane. - Sorts the imports based on conventions, similar to the output of `isort`. - Places all conditional imports after unconditional imports, except where that isn't valid. - Imports local names from the modules where they are defined, except when importing the package itself. | ||||
* | _core, test_websocket: Remove unused locals | Allan Lewis | 2016-04-27 | 1 | -7/+7 |
| | |||||
* | test_websocket: Remove unnecessary backslashes | Allan Lewis | 2016-04-27 | 1 | -3/+3 |
| | |||||
* | test_websocket: [Cleanup] Remove unused imports | Allan Lewis | 2016-04-27 | 1 | -2/+0 |
| | |||||
* | test_websocket: [Cleanup] Correct typo | Allan Lewis | 2016-04-27 | 1 | -3/+3 |
| | |||||
* | Using os.urandom() and constant-time hash check for handshake. Fixes #209 #210 | Predrag Gruevski | 2015-09-21 | 1 | -4/+4 |
| |