This commit is contained in:
gospider
2025-05-22 09:59:34 +08:00
parent a814a4ff66
commit d8ee903bdb

View File

@@ -3,7 +3,6 @@
package requests
import (
"net"
"syscall"
)
@@ -15,7 +14,3 @@ func Control(network, address string, c syscall.RawConn) error {
syscall.SetNonblock(int(fd), true)
})
}
func ChangeControl(conn *net.TCPConn) error {
conn.SetNoDelay(true)
return nil
}