mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 17:34:01 +03:00
Revert "Add new TCPBufferSize parameter to network"
This reverts commit 57cb1b5aa0.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user