(self)
| 116 | self.listen(5) |
| 117 | |
| 118 | def handle_accept(self): |
| 119 | pair = self.accept() |
| 120 | if pair is not None: |
| 121 | sock, addr = pair |
| 122 | # print 'Incoming connection from %s' % repr(addr) |
| 123 | self.connections += 1 |
| 124 | # if self.connections % 1000 == 0: |
| 125 | # print "Processed %i connections, active %i" % (self.connections, len(asyncore.socket_map)) |
| 126 | HTTPRequestHandler(sock) |
| 127 | |
| 128 | |
| 129 | class HTTPSServer(HTTPServer): |
nothing calls this directly
no test coverage detected