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: lucaceresoli/bug-15201-perf-libtraceevent-missing~24736 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d45b7bd611b900bc00530144ec0634307b1314f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 bd76f364683..7d12331453a 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