mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-25 22:34:28 +00:00
Continue on tcp err
This commit is contained in:
parent
7f07ef97c6
commit
a4b6f1edb2
@ -92,6 +92,9 @@ func (s *StratumServer) Listen() {
|
|||||||
|
|
||||||
for {
|
for {
|
||||||
conn, err := server.AcceptTCP()
|
conn, err := server.AcceptTCP()
|
||||||
|
if err != nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
conn.SetKeepAlive(true)
|
conn.SetKeepAlive(true)
|
||||||
checkError(err)
|
checkError(err)
|
||||||
ip, _, _ := net.SplitHostPort(conn.RemoteAddr().String())
|
ip, _, _ := net.SplitHostPort(conn.RemoteAddr().String())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user