Skip to content

Commit

Permalink
do not destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
breakwa11 committed Jun 3, 2017
1 parent 47c6e16 commit f22ef99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shadowsocks/tcprelay.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ def _write_to_sock(self, data, sock):

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)
Expand Down

0 comments on commit f22ef99

Please sign in to comment.