diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-08-05 15:30:30 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:45:31 +0100 |
commit | 1d45b7bd611b900bc00530144ec0634307b1314f (patch) | |
tree | 51527a9e52402e815c053ce4f91ac5a15f5adb2a /meta/lib/oeqa | |
parent | 2ba55933c81f78f4e4c36e21c59e935f74ce0f52 (diff) | |
download | openembedded-core-1d45b7bd611b900bc00530144ec0634307b1314f.tar.gz openembedded-core-1d45b7bd611b900bc00530144ec0634307b1314f.tar.bz2 openembedded-core-1d45b7bd611b900bc00530144ec0634307b1314f.zip |
oeqa/utils/httpserver.py: HTTPServer enable thread connection handling
HTTPServer now supports multiple connections using Python threads.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/utils/httpserver.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |