()
| 403 | |
| 404 | |
| 405 | def stop_serving(): |
| 406 | global listener |
| 407 | try: |
| 408 | if listener is not None: |
| 409 | listener.close() |
| 410 | listener = None |
| 411 | except Exception: |
| 412 | log.swallow_exception(level="warning") |
| 413 | sessions.report_sockets() |
| 414 | |
| 415 | |
| 416 | def connections(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…