Revert "Fixes #613 (#617)" (#620)

This reverts commit ac8cd7878c.
This commit is contained in:
Miek Gieben 2018-01-09 08:03:27 +00:00 committed by GitHub
parent dcdbddd810
commit e2db8456df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -509,10 +509,7 @@ func (srv *Server) serveUDP(l *net.UDPConn) error {
}
srv.lock.RUnlock()
if err != nil {
if netErr, ok := err.(net.Error); ok && netErr.Temporary() {
continue
}
return err
continue
}
go srv.serve(s.RemoteAddr(), handler, m, l, s, nil)
}