(self)
| 1049 | class DualStackServerMixin: |
| 1050 | |
| 1051 | def server_bind(self): |
| 1052 | # suppress exception when protocol is IPv4 |
| 1053 | with contextlib.suppress(Exception): |
| 1054 | self.socket.setsockopt( |
| 1055 | socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0) |
| 1056 | return super().server_bind() |
| 1057 | |
| 1058 | def finish_request(self, request, client_address): |
| 1059 | self.RequestHandlerClass(request, client_address, self, |
nothing calls this directly
no test coverage detected