Removed manadory mandatory requirement for Read/Write Timeout+

This commit is contained in:
Shelikhoo
2016-06-12 22:39:38 +08:00
parent d0d63ee5b3
commit f4ff2e9366
-1
View File
@@ -32,7 +32,6 @@ func (kvl *KCPVlistener) Accept() (net.Conn, error) {
var badbit bool = false
for _, key := range kvl.previousSocketid {
log.Info("kcp: listener testing,", key, ":", conn.GetConv())
if key == conn.GetConv() {
badbit = true
}