[PATCH] fud.c : timeout in do_proxy_request
Rob Siemborski
rjs3 at andrew.cmu.edu
Thu Jun 5 11:04:04 EDT 2003
On Wed, 4 Jun 2003, Etienne Goyer wrote:
> The fud daemon can proxy request for mailbox that are remote (ie
> Murder). In 2.1.13, the fud daemon will just sit there if the remote
> fud is not responding. It is strange because the recvfrom() is
> alarm()'ed; however, the SIGALRM handler do nothing else than clear the
> signal.
It shouldn't need to, when the alarm goes off recvfrom should return with
a value of -1 and errno = EINTR, and therefore fud should continue on as
normal (the next line catches the error).
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list