Date: Thu, 8 Mar 2001 06:04:43 -0800 (PST) From: "David E. Cross" <dec@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc svc_tcp.c svc_unix.c Message-ID: <200103081404.f28E4h300414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dec 2001/03/08 06:04:43 PST Modified files: (Branch: RELENG_4) lib/libc/rpc svc_tcp.c svc_unix.c Log: Submitted by: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org> Reviewed by: David Cross <dec@freebsd.org>, jkh <jkh@freebsd.org> Approved by: jkh <jkh@freebsd.org> Obtained from: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org> We have been running this patch on a production NIS server for 2.5 weeks now. Normally we would have ypserv die at least once a week, and often many times a day. This patch treats and error from select as zeroing out the FD_SET to indicate that no fds are ready for reading. This is safe because the rpc code always re-inits the FDSET before calling select. Revision Changes Path 1.18.2.1 +2 -1 src/lib/libc/rpc/svc_tcp.c 1.7.2.1 +2 -1 src/lib/libc/rpc/svc_unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103081404.f28E4h300414>