summaryrefslogtreecommitdiff
path: root/websocket/_http.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix socket constructor in _open_socket to use family, type, and proto from ↵Peter Donis2018-01-151-2/+2
| | | | | | getaddrinfo. This patch addresses issue #382.
* Merge branch 'master' of https://github.com/Greums/websocket-client into ↵Hiroki Ohtani2017-12-091-0/+2
|\ | | | | | | Greums-master
| * Fix SSL: SSLV3_ALERT_HANDSHAKE_FAILURE on Debian StretchDamien Le Bourdonnec2017-09-141-0/+2
| |
* | Merge branch 'gaierror' of https://github.com/willstott101/websocket-client ↵Hiroki Ohtani2017-12-091-8/+11
|\ \ | | | | | | | | | into willstott101-gaierror
| * | Wrap socket.gaierror with subclass of WebsocketExceptionWill Stott2017-09-141-8/+11
| |/
* | Merge branch 'master' of https://github.com/bpmckinnon/websocket-client into ↵Hiroki Ohtani2017-12-091-3/+6
|\ \ | | | | | | | | | bpmckinnon-master
| * | No_proxy settings should be preserved to allow blocking when proxy settings ↵Brian Mckinnon2017-08-301-2/+1
| | | | | | | | | | | | are pulled from the environment variable
| * | Added support for windows connection refused errorBrian Mckinnon2017-08-301-1/+5
| |/
* | 0.44.1ukwksk2017-11-131-1/+2
| |
* | sslopt dict ca_cert should be ca_certs, fixes #334Philippe Mathieu2017-08-221-1/+1
|/ | | Was 2/3 fixed in commits 287db85 and c280375.
* renames key in sslopt dict, fixes #326Ankur Oberoi2017-06-221-1/+1
| | | must use the same key in the `sslopt` dictionary when reading and writing to it
* fixed #326liris2017-06-211-2/+2
|
* Support WEBSOCKET_CLIENT_CA_BUNDLE being directoryAlex Tzonkov2017-03-231-3/+6
| | | This PR adds the capability to use a directory with multiple certs to do ssl cert verification. Similar to how the requests module uses REQUESTS_CA_BUNDLE.
* fixed #264liris2016-12-021-1/+1
|
* Support CA bundle specified by environment variableImre Farkas2016-11-151-2/+5
| | | | | | | There's currently no way to define a custom list of trusted CAs and certain uses-cases end up in SSLError. This commit adds a check for the WEBSOCKET_CLIENT_CA_BUNDLE env variable, similarly to requests library which accepts REQUETS_CA_BUNDLE.
* wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise importsAllan Lewis2016-04-271-9/+9
| | | | | | | | | | | | | | 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-4/+8
| | | | Line length is set to 80 characters; tests are excluded.
* wsdump, websocket.*: [PEP 8] Use conventional vertical spacingAllan Lewis2016-04-271-2/+7
|
* wsdump, examples, setup, _abnf, _http, _utils: [PEP 8] Fix spacingAllan Lewis2016-04-271-3/+3
|
* _abnf, _app, _http, _url: [PEP 8] Fix indentsAllan Lewis2016-04-271-2/+2
|
* wsdump, _abnf, _http: Compare to `None` using `in`Allan Lewis2016-04-271-1/+1
|
* fixed #227liris2016-01-041-3/+5
|
* Use pre-initialized stream socketIlya Semyonov2015-12-081-1/+5
| | | | | Allow creating WebSocket connection on existing stream socket instance (either TCP or SSL).
* Fix issue #207, Client certificates do not work with 2.7.9+ and 3.2+robviaas2015-09-201-0/+6
| | | | | | | | | | (https://github.com/liris/websocket-client/issues/207) By observing the certfile argument, we can load the cert chain using the certfile, keyfile and password sslopt values. A more complete fix might allow us to pass in the SSLContext (rather than creating it on each connection), which would allow the caller to set all SSL options prior to calling create_connection() - this option was passed over as it required more extensive changes.
* add space.liris2015-07-231-1/+1
|
* Merge branch 'master' of https://github.com/newsham/websocket-client into ↵liris2015-07-231-0/+3
|\ | | | | | | newsham-master
| * add support for ssl cert chains to support client certsTim Newsham2015-07-171-0/+3
| |
* | Fix string formatting in exceptionCraig Jellick2015-07-171-1/+1
|/
* use wsaccel if availableAchille Roussel2015-07-101-1/+1
|
* - refactoring.liris2015-06-221-1/+1
|
* Update _http.pyDainDwarf2015-05-281-1/+2
| | | Return sock in _tunnel to avoid crash in connect()
* add comment.liris2015-04-211-0/+1
|
* set check_hostname attribute after setting verify_mode.liris2015-04-211-2/+2
| | | | | see https://github.com/liris/websocket-client/commit/b96a2e8fa765753e82eea531adb19716b52ca3ca#commitcomment-10803153 for detail. refs b96a2e8fa765753e82eea531adb19716b52ca3ca
* set check_hostname attribute before setiing verify_mode.liris2015-04-201-2/+3
|
* Fix #175: Use builtin check_hostname when availableKenjiTakahashi2015-04-201-7/+8
|
* fixed #175liris2015-04-201-1/+4
|
* Fix checking for SNI availabilityKenjiTakahashi2015-04-171-2/+2
|
* fix version checkliris2015-04-161-1/+1
|
* add some document.liris2015-04-141-12/+20
| | | | small refactoring
* Use SSLContext for socket wrapping when possibleKenjiTakahashi2015-04-131-1/+17
| | | | | Works for Python 2.7.9+ and 3.2+. Enables usage of modern SSL extensions, like SNI.
* socket absent from read_headers call in proxy_info classchrisdare042015-04-071-1/+1
|
* Minor type in proxy_info classchrisdare042015-04-071-1/+1
|
* fixed ssl socket bugliris2015-04-011-0/+1
|
* Fix erroneous argument shadowingenewhuis2015-03-311-2/+2
|
* fixed some errorv0.27.0liris2015-03-261-2/+3
|
* refs #164liris2015-03-261-2/+1
|
* Fix exception in recv() when ssl module is not availableAndrey Kosyakov2015-03-251-16/+1
|
* Merge branch 'master' of https://github.com/liris/websocket-clientliris2015-03-251-0/+1
|\
| * Moved the import errno statement from _core.py to _http.py to fix a ↵Marek Novák2015-03-241-0/+1
| | | | | | | | NameError on line 108 of _http.py
* | fixed #160 and some refactoringliris2015-03-251-8/+20
|/