]> git.ozlabs.org Git - ccan/commit
io: closing one side of a duplex connection closes both.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Nov 2013 10:11:06 +0000 (20:41 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Nov 2013 10:11:06 +0000 (20:41 +1030)
commit490b63852f281f0d72eb6f6dfa5e0dce36bcbe0d
treecafefe2586e44de571c001cfbdf697691e36856b
parent004098abe240de40e5c652b181bae92fd05f8a67
io: closing one side of a duplex connection closes both.

Otherwise, it's a PITA to close a duplexed connection.  If necessary we
can introduce a half-close to de-deplex later.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c
ccan/io/io.h
ccan/io/test/run-12-bidir.c