This commit is contained in:
liris 2014-08-20 07:46:42 +09:00
parent 141b70de1f
commit daa6cb0192
3 changed files with 7 additions and 1 deletions

@ -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)

@ -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)