(listeners, unlink=True)
| 228 | |
| 229 | |
| 230 | def close_sockets(listeners, unlink=True): |
| 231 | for sock in listeners: |
| 232 | sock_name = sock.getsockname() |
| 233 | sock.close() |
| 234 | if unlink and _sock_type(sock_name) is UnixSocket: |
| 235 | os.unlink(sock_name) |
| 236 | |
| 237 | |
| 238 | def _get_alpn_protocols(conf): |
nothing calls this directly
no test coverage detected