Changes between Initial Version and Version 1 of Ticket #16099, comment 3


Ignore:
Timestamp:
May 28, 2011, 7:22:48 AM (14 years ago)
Author:
Jannis Leidel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16099, comment 3

    initial v1  
    33it's incredibly easy to mix multithreading into python's simple HTTP server:
    44
     5{{{
    56class ThreadedHTTPServer(ThreadingMixIn, HTTPServer):
    67    def __init__(self, server_address, HandlerClass):
    78        HTTPServer.__init__(self, server_address, HandlerClass)
    8 
     9}}}
    910I made the web server in client/cros/httpd.py multithreaded in this way a few days ago.
Back to Top