diff --git a/copyparty/httpsrv.py b/copyparty/httpsrv.py index 447efc3c..6947b78d 100644 --- a/copyparty/httpsrv.py +++ b/copyparty/httpsrv.py @@ -52,6 +52,8 @@ class HttpSrv(object): def thr_client(self, sck, addr): """thread managing one tcp client""" + sck.settimeout(120) + cli = HttpConn(sck, addr, self) with self.mutex: self.clients[cli] = 0