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


Ignore:
Timestamp:
05/28/2011 07:22:48 AM (4 years ago)
Author:
jezdez
Comment:

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