mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 22:39:42 +08:00
refactor: replace gadb with optimized version authoried by @appl3s
This commit is contained in:
9
hrp/pkg/gadb/utils.go
Normal file
9
hrp/pkg/gadb/utils.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package gadb
|
||||
|
||||
import (
|
||||
"net"
|
||||
)
|
||||
|
||||
func DisableTimeWait(conn *net.TCPConn) error {
|
||||
return conn.SetLinger(0)
|
||||
}
|
||||
Reference in New Issue
Block a user