Revert "Add new TCPBufferSize parameter to network"

This reverts commit 57cb1b5aa0.
This commit is contained in:
9seconds
2021-03-17 22:03:36 +03:00
parent 83eeedc008
commit adf4ab1a35
11 changed files with 3 additions and 54 deletions
-4
View File
@@ -75,10 +75,6 @@ func (n *network) IdleTimeout() time.Duration {
return n.idleTimeout
}
func (n *network) TCPBufferSize() int {
return n.dialer.TCPBufferSize()
}
func (n *network) dnsResolve(protocol, address string) ([]string, error) {
if net.ParseIP(address) != nil {
return []string{address}, nil