diff options
author | andre <andre@FreeBSD.org> | 2011-07-08 10:50:13 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2011-07-08 10:50:13 +0000 |
commit | 41fc3214dfa1da1f464192ffe878241cd3b9bf7a (patch) | |
tree | e745068211b2a01c9ead51df622151d2d28336e3 /tools/regression/kqueue/proc.c | |
parent | 99a0b299b3e1499b4637e127d2dd98bbf780464e (diff) | |
download | FreeBSD-src-41fc3214dfa1da1f464192ffe878241cd3b9bf7a.zip FreeBSD-src-41fc3214dfa1da1f464192ffe878241cd3b9bf7a.tar.gz |
In the experimental soreceive_stream():
o Move the non-blocking socket test below the SBS_CANTRCVMORE so that EOF
is correctly returned on a remote connection close.
o In the non-blocking socket test compare SS_NBIO against the so->so_state
field instead of the incorrect sb->sb_state field.
o Simplify the ENOTCONN test by removing cases that can't occur.
Submitted by: trociny (with some further tweaks by committer)
Tested by: trociny
Diffstat (limited to 'tools/regression/kqueue/proc.c')
0 files changed, 0 insertions, 0 deletions