- fixed #102
This commit is contained in:
parent
141b70de1f
commit
daa6cb0192
@ -157,6 +157,10 @@ example::
|
||||
ChangeLog
|
||||
============
|
||||
|
||||
- v0.17.0
|
||||
|
||||
- can't set timeout on a standing websocket connection (#102)
|
||||
|
||||
- v0.16.0
|
||||
|
||||
- lock some method for multithread. (#92)
|
||||
|
2
setup.py
2
setup.py
@ -1,7 +1,7 @@
|
||||
from setuptools import setup
|
||||
import sys
|
||||
|
||||
VERSION = "0.16.0a"
|
||||
VERSION = "0.17.0"
|
||||
NAME="websocket-client"
|
||||
|
||||
install_requires = ["six"]
|
||||
|
@ -383,6 +383,8 @@ class WebSocket(object):
|
||||
timeout: timeout time(second).
|
||||
"""
|
||||
self._timeout = timeout
|
||||
if self.sock:
|
||||
self.sock.settimeout(timeout)
|
||||
|
||||
timeout = property(gettimeout, settimeout)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user