From: Aníbal Limón Date: Fri, 5 Aug 2016 20:30:30 +0000 (-0500) Subject: oeqa/utils/httpserver.py: HTTPServer enable thread connection handling X-Git-Tag: uninative-1.3~29 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1d45b7bd611b900bc00530144ec0634307b1314f;p=openembedded-core.git oeqa/utils/httpserver.py: HTTPServer enable thread connection handling HTTPServer now supports multiple connections using Python threads. Signed-off-by: Aníbal Limón Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/utils/httpserver.py b/meta/lib/oeqa/utils/httpserver.py index bd76f36468..7d12331453 100644 --- a/meta/lib/oeqa/utils/httpserver.py +++ b/meta/lib/oeqa/utils/httpserver.py @@ -1,8 +1,9 @@ import http.server import multiprocessing import os +from socketserver import ThreadingMixIn -class HTTPServer(http.server.HTTPServer): +class HTTPServer(ThreadingMixIn, http.server.HTTPServer): def server_start(self, root_dir): import signal