class FancyHTTPServer(ThreadingMixIn, HTTPServer):

    def server_activate(self):
        self.socket.listen(128)
Mysterious exceptions when making many concurrent requests from urllib.request to HTTPServer