mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-09-14 03:25:52 -05:00
Don't set keep alive period
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
"io"
|
||||
"net"
|
||||
"os"
|
||||
"time"
|
||||
"wwfc/common"
|
||||
"wwfc/logging"
|
||||
)
|
||||
@@ -90,11 +89,6 @@ func handleRequest(conn net.Conn) {
|
||||
logging.Notice(ModuleName, "Unable to set keepalive", err.Error())
|
||||
}
|
||||
|
||||
err = conn.(*net.TCPConn).SetKeepAlivePeriod(time.Hour * 1000)
|
||||
if err != nil {
|
||||
logging.Notice(ModuleName, "Unable to set keepalive", err.Error())
|
||||
}
|
||||
|
||||
logging.Notice(ModuleName, "Connection established from", aurora.BrightCyan(conn.RemoteAddr()))
|
||||
|
||||
// Here we go into the listening loop
|
||||
|
||||
Reference in New Issue
Block a user