about summary refs log tree commit diff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 3a14ff2..ff6f5c0 100644
--- a/main.py
+++ b/main.py
@@ -162,6 +162,7 @@ class HTTPServer:
         self.semaphore.acquire()
 
         try:
+            client.settimeout(10)
             client.setblocking(False)
             request = self._recv_request(client)
             if request is not None: