diff options
Diffstat (limited to 'module/remote/SocketServer.py')
-rw-r--r-- | module/remote/SocketServer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/remote/SocketServer.py b/module/remote/SocketServer.py index 297a9a422..75916a52b 100644 --- a/module/remote/SocketServer.py +++ b/module/remote/SocketServer.py @@ -11,6 +11,7 @@ import asynchat import asyncore import socket import threading +import time from RequestHandler import RequestHandler @@ -67,6 +68,7 @@ class SecondaryServerSocket(asynchat.async_chat): def collect_incoming_data(self, data): self.data += data def found_terminator(self): + time.sleep(0.2) # if response is received to fast client gets an error O_o ?!?!? rep = self.handler.proceed(self.data) self.push(rep) self.data = "" |