mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-11 15:48:00 +00:00
Continue on tcp err
This commit is contained in:
parent
7f07ef97c6
commit
a4b6f1edb2
@ -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…
Reference in New Issue
Block a user