(self)
| 93 | self.connect(self.proxy) |
| 94 | |
| 95 | def handle_connect(self): |
| 96 | self.set_state("init") |
| 97 | try: |
| 98 | AdvancedDispatcher.handle_connect(self) |
| 99 | except socket.error as e: |
| 100 | if e.errno in asyncore._DISCONNECTED: |
| 101 | logger.debug("%s:%i: Connection failed: %s", self.destination.host, self.destination.port, str(e)) |
| 102 | return |
| 103 | self.state_init() |
| 104 | |
| 105 | def state_proxy_handshake_done(self): |
| 106 | self.connectedAt = time.time() |
nothing calls this directly
no test coverage detected