Add timeout to BaseThreadedHTTPServer for Python 2.6
This commit is contained in:
@@ -63,7 +63,7 @@ if not hasattr(WebDAVServer.DAVRequestHandler, '_config'):
|
||||
|
||||
class BaseThreadedHTTPServer(SocketServer.ThreadingMixIn,
|
||||
BaseHTTPServer.HTTPServer):
|
||||
|
||||
timeout = 1
|
||||
max_children = CONFIG['max_thread']
|
||||
|
||||
def server_bind(self):
|
||||
|
||||
Reference in New Issue
Block a user