summaryrefslogtreecommitdiff
path: root/websocket/_app.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Check return value of read callback in dispatchersshdown2018-03-221-2/+4
| |
* | Fix waiting forever on ping/pong timeoutshdown2018-03-141-5/+10
|/
* fix #395Tianhu Yang2018-02-131-0/+2
|
* fixed #386Hiroki Ohtani2018-02-091-8/+28
|
* refactorHiroki Ohtani2018-02-091-9/+15
|
* rmed Dispatcher.dispatch() and dispatcher.dispatch(), simplifying apibubbleboy142018-01-241-5/+0
|
* refs #375Hiroki Ohtani2018-01-241-5/+21
|
* friendlier KeyboardInterruptbubbleboy142017-12-241-0/+1
|
* teardown(): return out if not running; call on close framebubbleboy142017-12-241-1/+3
|
* moved teardown code into function called on close or exceptionbubbleboy142017-12-241-11/+13
|
* WebSocketApp.run_forever(): replaced select() loop with rel.read() event ↵bubbleboy142017-12-241-26/+28
| | | | registration; no_dispatch kwarg (default False), for switching off immediate dispatch (thus supporting multiple simultaneous clients). added rel import.
* Another typo, same dealPeter "Marenthyu" Fredebold2017-12-091-1/+1
| | | should be True not true
* Fix typoPeter "Marenthyu" Fredebold2017-12-091-1/+1
| | | should be False not false
* fixed #365Hiroki Ohtani2017-12-091-4/+4
|
* Fix undefined variablemckelvin2017-09-011-1/+1
|
* fixed #327v0.43.0liris2017-06-211-0/+1
| | | | revert #301
* fixed #325v0.41.1liris2017-06-181-1/+2
|
* Merge pull request #323 from dannywillems/fix_warningliris2017-06-181-4/+4
|\ | | | | Fix warning is not defined.
| * Fix warning is not defined.Danny Willems2017-06-121-4/+4
| |
* | Merge pull request #320 from LAlbertalli/patch-1liris2017-06-181-1/+1
|\ \ | | | | | | Avoid the app to block on close on certain systems
| * | Avoid the app to block on close on certain systemsLuca Albertalli2017-05-301-1/+1
| |/ | | | | | | | | | | | | | | | | This relates to issues #317 From the man page of libc/select: ' Multithreaded applications ' If a file descriptor being monitored by select() is closed in another thread, the result is unspecified. On some UNIX systems, select() unblocks and returns, with an indication that the file descriptor is ready (a subsequent I/O operation will likely fail with an error, unless another the file descriptor reopened between the time select() returned and the I/O operations was performed). On Linux (and some other systems), closing the file descriptor in another thread has no effect on select(). In summary, any application that relies on a particular behavior in this scenario must be considered buggy. This change ensures that select unlock at least every 10 sec
* | Merge pull request #301 from lujinda/masterliris2017-06-181-1/+0
|\ \ | |/ |/| fix: when using pppoe redial will block.
| * fix: when using pppoe redial will block.疯狂的小企鹅2016-08-011-1/+0
| |
* | Fix opcode -> op_codeRichard Wong2016-12-071-1/+1
| |
* | fixed #261 Incorrect encoding in continued messages python3liris2016-10-031-1/+1
| |
* | Merge pull request #265 from drew-gross/patch-1liris2016-10-031-2/+2
|\ \ | | | | | | Allow closing WebSocketApp with status/reason/timeout
| * | Allow closing WebSocketApp with status/reason/timeoutDrew2016-08-181-2/+2
| |/
* | Logging warnings when send_ping routine fails, send_ping exc should not hit ↵Krzysztof Rosinski2016-07-011-1/+5
|/ | | | sys.excepthook
* fixed #253liris2016-05-101-1/+1
|
* wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise importsAllan Lewis2016-04-271-3/+4
| | | | | | | | | | | | | | 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.
* websocket.*: [PEP 8] Use conventional line-length limitAllan Lewis2016-04-271-5/+10
| | | | Line length is set to 80 characters; tests are excluded.
* wsdump, websocket.*: [PEP 8] Use conventional vertical spacingAllan Lewis2016-04-271-0/+1
|
* wsdump, examples, setup, _abnf, _http, _utils: [PEP 8] Fix spacingAllan Lewis2016-04-271-1/+1
|
* _abnf, _app, _http, _url: [PEP 8] Fix indentsAllan Lewis2016-04-271-8/+9
|
* _app: Don't use mutable default argument valueAllan Lewis2016-04-271-2/+2
|
* fixed #242v0.36.0liris2016-04-121-1/+1
|
* Merge pull request #241 from mkonecny/masterliris2016-04-121-3/+9
|\ | | | | implement ping/pong timeout
| * implement ping/pong timeoutMartin Konecny2016-03-211-3/+9
| |
* | Fix typos in docstringJohannes Laire2016-02-191-2/+2
|/
* Propagate SystemExit exception furtherVasily2016-01-181-0/+3
|
* Handle more built-in exceptions that are not derived from Exception in ↵Vasily2016-01-151-1/+1
| | | | WebSocketApp.run_forever()
* Merge branch 'fix_argspec' of https://github.com/oklahomer/websocket-client ↵liris2016-01-041-2/+6
|\ | | | | | | into oklahomer-fix_argspec
| * use inspect.getfullargspec with Python 3.xOklahomer2015-11-081-2/+6
| |
* | fix typosJakub Wilk2016-01-031-17/+17
|/
* fixed #203liris2015-10-281-2/+2
|
* Merge remote-tracking branch 'origin/master' into tweaksNoah Levitt2015-09-231-1/+13
|\ | | | | | | | | | | | | | | | | | | | | | | * origin/master: fixed #192 introduced close timeout fixed #199 WebSocketBadStatusException for handshake error fixed #198 introduce on_data callback to pass data type. documentation add space. Typo fix in README.rst Fix string formatting in exception add support for ssl cert chains to support client certs
| * fixed #198liris2015-07-301-1/+13
| | | | | | | | introduce on_data callback to pass data type.
* | improve logging of error from callbackNoah Levitt2015-07-201-1/+1
|/
* fixed #173liris2015-04-171-1/+1
|
* fixed #171liris2015-04-141-2/+6
|