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
@@ -60,10 +60,6 @@ func (d *defaultDialer) DialContext(ctx context.Context, network, address string
return tcpConn, nil
}
func (d *defaultDialer) TCPBufferSize() int {
return d.bufferSize
}
func NewDefaultDialer(timeout time.Duration, bufferSize int) (Dialer, error) {
switch {
case timeout < 0: