mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user