diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-24 13:43:22 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-24 13:43:22 +0200 |
commit | 04b1015aa6ceefd3735de21d21519eb01316f1dc (patch) | |
tree | 7dccfce9d421b22cf846d41cebf3d6af1dd85c1c /module/remote/SocketServer.py | |
parent | fixed some bugs (diff) | |
download | pyload-04b1015aa6ceefd3735de21d21519eb01316f1dc.tar.xz |
fixed occasionally appearing cli bug, catpcha method for sharebiz @ ~60%
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 = "" |