Date: Fri, 8 Jul 2011 10:50:13 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <201107081050.p68AoWDX058205@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2011-07-08 10:50:13 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 223863 on 2011-07-08 10:50:13Z by andre 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 Revision Changes Path 1.357 +9 -13 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107081050.p68AoWDX058205>