From: Rusty Russell Date: Tue, 4 Jan 2022 02:36:34 +0000 (+1030) Subject: io: add new io_sock_shutdown helper. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=609670cc6a5fc9ba819cacca251cde1709c053d6;hp=609670cc6a5fc9ba819cacca251cde1709c053d6 io: add new io_sock_shutdown helper. 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 ---