fix connection close

This commit is contained in:
rui.zheng 2016-09-15 08:35:09 +08:00
parent 768f97bead
commit f7c8c40081
2 changed files with 2 additions and 1 deletions

View File

@ -100,6 +100,7 @@ func handleUdpForwardTunnel(laddr, raddr *net.UDPAddr, rChan, wChan chan *gosock
}
break
}
defer tun.Close()
glog.V(LINFO).Infof("[udp] %s <-> %s", laddr, raddr)

View File

@ -19,7 +19,7 @@ const (
)
const (
Version = "2.1-dev"
Version = "2.1-rc1"
)
var (