[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1760/8267] oeqa/utils/httpserver.py: HTTPServer enable thread connection handling



commit feb125eb1726cad64e6ff973fdb814554ed13290
Author: Aníbal Limón <anibal limon linux intel com>
Date:   Fri Aug 5 15:30:30 2016 -0500

    oeqa/utils/httpserver.py: HTTPServer enable thread connection handling
    
    HTTPServer now supports multiple connections using Python threads.
    
    (From OE-Core rev: 1d45b7bd611b900bc00530144ec0634307b1314f)
    
    Signed-off-by: Aníbal Limón <anibal limon linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 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 bd76f36..7d12331 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]