fixed ssl socket bug
This commit is contained in:
parent
802bc13ee8
commit
4417e1dffe
@ -1,6 +1,10 @@
|
||||
ChangeLog
|
||||
============
|
||||
|
||||
- 0.29.0
|
||||
|
||||
- fixed ssl socket bug
|
||||
|
||||
- 0.28.0
|
||||
|
||||
- Fix erroneous argument shadowing(#168)
|
||||
|
2
setup.py
2
setup.py
@ -1,7 +1,7 @@
|
||||
from setuptools import setup
|
||||
import sys
|
||||
|
||||
VERSION = "0.28.0"
|
||||
VERSION = "0.29.0"
|
||||
NAME="websocket_client"
|
||||
|
||||
install_requires = ["six"]
|
||||
|
@ -22,4 +22,4 @@ Copyright (C) 2010 Hiroki Ohtani(liris)
|
||||
from ._core import *
|
||||
from ._app import WebSocketApp
|
||||
|
||||
__version__ = "0.28.0"
|
||||
__version__ = "0.29.0"
|
||||
|
@ -129,6 +129,7 @@ def _ssl_socket(sock, user_sslopt, hostname):
|
||||
if (sslopt["cert_reqs"] != ssl.CERT_NONE and check_hostname):
|
||||
match_hostname(sock.getpeercert(), hostname)
|
||||
|
||||
return sock
|
||||
|
||||
def _tunnel(sock, host, port, auth):
|
||||
debug("Connecting proxy...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user