20 lines
817 B
Text
20 lines
817 B
Text
|
Index: websockify/websockifyserver.py
|
||
|
--- websockify/websockifyserver.py.orig
|
||
|
+++ websockify/websockifyserver.py
|
||
|
@@ -451,15 +451,6 @@ class WebSockifyServer():
|
||
|
|
||
|
if tcp_keepalive:
|
||
|
sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
|
||
|
- if tcp_keepcnt:
|
||
|
- sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPCNT,
|
||
|
- tcp_keepcnt)
|
||
|
- if tcp_keepidle:
|
||
|
- sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE,
|
||
|
- tcp_keepidle)
|
||
|
- if tcp_keepintvl:
|
||
|
- sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPINTVL,
|
||
|
- tcp_keepintvl)
|
||
|
|
||
|
if connect:
|
||
|
sock.connect(addrs[0][4])
|