- refs #68
This commit is contained in:
@@ -927,7 +927,7 @@ class WebSocketApp(object):
|
|||||||
if set to 0, not send automatically.
|
if set to 0, not send automatically.
|
||||||
ping_timeout: timeout(second) if the pong message is not recieved.
|
ping_timeout: timeout(second) if the pong message is not recieved.
|
||||||
"""
|
"""
|
||||||
if ping_timeout<=0:
|
if not ping_timeout or ping_timeout<=0:
|
||||||
ping_timeout = None
|
ping_timeout = None
|
||||||
if sockopt is None:
|
if sockopt is None:
|
||||||
sockopt = []
|
sockopt = []
|
||||||
|
Reference in New Issue
Block a user