From b65b9d0f955e8b3e92b7cda5c90301b4728aa3a4 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Tue, 20 Apr 2021 17:23:37 +0200 Subject: [PATCH] Add timeout --- fstream-util-pipe_to_tcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fstream-util-pipe_to_tcp.py b/fstream-util-pipe_to_tcp.py index 1cfbaf4..1fdab21 100644 --- a/fstream-util-pipe_to_tcp.py +++ b/fstream-util-pipe_to_tcp.py @@ -50,4 +50,4 @@ while True: conn, address = serverSocket.accept() with connectionLock: connection = conn - connection.settimeout(None) \ No newline at end of file + connection.settimeout(5) \ No newline at end of file