]> git.ozlabs.org Git - ccan/commit
ccan/io: test read after hangup.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
commitcf86c1e30648c9b482b92444c39ea6ea0ff936a8
treeae1c6bd6b5366642fd64594f36899d8378dba66c
parentd0458a433876acc01b48f74c1c3b966bbc29de57
ccan/io: test read after hangup.

In particular, make sure that idle connections don't get closed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/poll.c
ccan/io/test/run-08-hangup-on-idle.c [new file with mode: 0644]
ccan/io/test/run-08-read-after-hangup.c [new file with mode: 0644]