From 6df5fe2f0cc560e33e6eef703c8f6ab7cedebb7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 24 Aug 2009 17:50:08 +0200 Subject: [PATCH] Add timeout to BaseThreadedHTTPServer for Python 2.6 --- trytond/protocols/webdav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/protocols/webdav.py b/trytond/protocols/webdav.py index 0082427771..0af1eea15e 100644 --- a/trytond/protocols/webdav.py +++ b/trytond/protocols/webdav.py @@ -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):