Browse Source

Continue on tcp err

pool
Sammy Libre 8 years ago
parent
commit
a4b6f1edb2
  1. 3
      go-pool/stratum/stratum.go

3
go-pool/stratum/stratum.go

@ -92,6 +92,9 @@ func (s *StratumServer) Listen() { @@ -92,6 +92,9 @@ func (s *StratumServer) Listen() {
for {
conn, err := server.AcceptTCP()
if err != nil {
continue
}
conn.SetKeepAlive(true)
checkError(err)
ip, _, _ := net.SplitHostPort(conn.RemoteAddr().String())

Loading…
Cancel
Save