Handle a new connection
(self, conn)
| 227 | util.info(' ... exception was %r', e) |
| 228 | |
| 229 | def handle_request(self, conn): |
| 230 | ''' |
| 231 | Handle a new connection |
| 232 | ''' |
| 233 | try: |
| 234 | self._handle_request(conn) |
| 235 | except SystemExit: |
| 236 | # Server.serve_client() calls sys.exit(0) on EOF |
| 237 | pass |
| 238 | finally: |
| 239 | conn.close() |
| 240 | |
| 241 | def serve_client(self, conn): |
| 242 | ''' |
no test coverage detected