]> Sergey Matveev's repositories - vors.git/blobdiff - cmd/client/main.go
Ignore UDP network write errors
[vors.git] / cmd / client / main.go
index c54d41d9524b5d814fae7b1ca0ab8ae6c8f68e2878fa71558a467f5060b28981..0895cd0bbcc689049c077a6c031a679f4625d665f98877d0c4909f4f3dbf90fb 100644 (file)
@@ -559,7 +559,6 @@ func main() {
                        OurStats.bytes += vors.IPHdrLen(srvAddrUDP.IP) + 8 + 1
                        if _, err = conn.Write([]byte{sid}); err != nil {
                                log.Println("send:", err)
-                               Finish <- struct{}{}
                        }
                }
        }()
@@ -622,7 +621,6 @@ func main() {
                        OurStats.AddRMS(pcm)
                        if _, err = conn.Write(pkt); err != nil {
                                log.Println("send:", err)
-                               break
                        }
                }
        }()