Date: Tue, 15 Oct 2002 15:28:59 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc clnt_dg.c Message-ID: <200210152228.g9FMSxCx014502@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/10/15 15:28:59 PDT
Modified files:
lib/libc/rpc clnt_dg.c
Log:
Use kqueue(2) instead of poll(2) to wait for replies and timeouts
in the UDP RPC client code. As a side-effect, this fixes some bugs
that might prevent the RPC call from ever timing out for example
if the server keeps responding with the wrong xid. This could
probably be simplified further by using the EVFILT_TIMER filter.
Revision Changes Path
1.15 +90 -158 src/lib/libc/rpc/clnt_dg.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?200210152228.g9FMSxCx014502>
