udp proxy: fix reconnect error, fix #209

This commit is contained in:
fatedier
2017-01-05 23:07:58 +08:00
Unverified
parent 1868b3bafb
commit 1f49510e3e
3 changed files with 45 additions and 5 deletions
+3 -1
View File
@@ -85,7 +85,9 @@ func controlWorker(c *conn.Conn) {
return
}
} else {
closeFlag = false
if ret == 0 {
closeFlag = false
}
return
}