Date: Mon, 07 Apr 2003 18:06:48 GMT From: Tor.Egge@cvsup.no.freebsd.org To: is@rambler-co.ru Cc: freebsd-stable@freebsd.org Subject: Re: MFC: Sync new socket nonblocking/async state with file flags in accept() Message-ID: <20030407180648W.tegge@cvsup.no.freebsd.org> In-Reply-To: <Pine.BSF.4.21.0304071145050.40397-100000@is> References: <Pine.BSF.4.21.0304071145050.40397-100000@is>
next in thread | previous in thread | raw e-mail | index | archive | help
> Is this MFC needed in RELENG_4 ? Yes. It fixes a problem triggered by the mysql ports when compiled with the build option WITH_LINUXTHREADS=yes. > I ran the PR 1775 test program on FreeBSD 3.4, 4.2, 4.3, 4.7 with > the same result: The test program is incomplete. mysql changes the listen socket to nonblocking state after the select() but before the accept(). Without this MFC, the file flags will indicate that the new socket is nonblocking but read() will still block. - Tor Egge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407180648W.tegge>