Browse Source

Change: use default tcp buffer size

pull/133/head
xjasonlyu 3 years ago
parent
commit
d65d3b08d0
  1. 4
      core/option/option.go

4
core/option/option.go

@ -54,11 +54,11 @@ const (
// tcpDefaultBufferSize is the default size of the send buffer for
// a transport endpoint.
tcpDefaultSendBufferSize = stack.DefaultBufferSize
tcpDefaultSendBufferSize = tcp.DefaultSendBufferSize
// tcpDefaultReceiveBufferSize is the default size of the receive buffer
// for a transport endpoint.
tcpDefaultReceiveBufferSize = stack.DefaultBufferSize
tcpDefaultReceiveBufferSize = tcp.DefaultReceiveBufferSize
)
type Option func(*stack.Stack) error

Loading…
Cancel
Save