oeqa/utils/httpserver.py: HTTPServer enable thread connection handling
PATCH 1/1 oeqa/utils/httpserver.py: HTTPServer enable thread connection handling
HTTPServer now supports multiple connections using Python threads.
Signed-off-by Aníbal Limón <[email protected]>
--- meta/lib/oeqa/utils/httpserver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/utils/httpserver.py +2 -1
@@ -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
Signature · 1 line
2.1.4