This commit is contained in:
arraykeys@gmail.com
2018-10-09 14:23:22 +08:00
parent 325acb2942
commit 99881e2c70

View File

@ -366,7 +366,7 @@ func (s *UDP) UDPRevecive(key string) {
}() }()
v, ok := s.udpConns.Get(key) v, ok := s.udpConns.Get(key)
if !ok { if !ok {
s.log.Printf("[warn] udp conn not exists for %s, connid : %s", key) s.log.Printf("[warn] udp conn not exists for %s", key)
return return
} }
uc = v.(*UDPConnItem) uc = v.(*UDPConnItem)