summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/stack_test.go
diff options
context:
space:
mode:
authorNayana Bidari <nybidari@google.com>2020-08-25 09:59:42 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-09 17:53:10 -0700
commit98e652f6f1d8f3d0bbc4600b1ef2ce471d8e6406 (patch)
treefccda6363045de89086057a15284bd8c15046f8b /pkg/tcpip/stack/stack_test.go
parent4480329d091cf2e8fc16cbe0ed155783e53db20f (diff)
Support SO_LINGER socket option.
When SO_LINGER option is enabled, the close will not return until all the queued messages are sent and acknowledged for the socket or linger timeout is reached. If the option is not set, close will return immediately. This option is mainly supported for connection oriented protocols such as TCP. PiperOrigin-RevId: 328350576
Diffstat (limited to 'pkg/tcpip/stack/stack_test.go')
0 files changed, 0 insertions, 0 deletions