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