]> git.ozlabs.org Git - ccan/commitdiff
io: add new io_sock_shutdown helper.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Jan 2022 02:36:34 +0000 (13:06 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Jan 2022 05:53:12 +0000 (16:23 +1030)
Turns out that there's no good way to flush a socket:

https://blog.netherlabs.nl/articles/2009/01/18/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found