From f22ef99d8573f80e7d3baad7d62c3224823b74e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Sat, 3 Jun 2017 23:09:09 +0800 Subject: [PATCH] do not destroy --- shadowsocks/tcprelay.py | 1 - 1 file changed, 1 deletion(-) diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index cd6d0da..3322b52 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -414,7 +414,6 @@ class TCPRelayHandler(object): def _handle_server_dns_resolved(self, error, remote_addr, server_addr, data): if error: - self.destroy() return try: addrs = socket.getaddrinfo(server_addr, remote_addr[1], 0, socket.SOCK_DGRAM, socket.SOL_UDP)