Documentation ¶
Overview ¶
Package tcpfailfast allows control over the TCP "user timeout" behavior.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("tcp-failfast is unsupported on this platform")
ErrUnsupported is returned when there is no implementation of the timeout on the current platform.
Functions ¶
func FailFastTCP ¶
FailFastTCP instructs the kernel to forcefully close the connection when transmitted data remains unacknowledged after the given timeout. This is the "user timeout" specified in RFC 793, but bear in mind that not all platforms support this option.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.