[375] in Kerberos-V5-bugs
Re: question about kdc/network.c
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Fri Oct 15 15:52:51 1993
Date: Fri, 15 Oct 93 15:46:13 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: jim@bilbo.suite.com (Jim Miller)
Cc: krb5-bugs@MIT.EDU, kerberos@MIT.EDU
In-Reply-To: "[367] in Kerberos-V5-bugs"
[0367] daemon@ATHENA.MIT.EDU (Jim Miller) Kerberos-V5-bugs 10/12/93 18:13 (34 lines)
In the file "kdc/network.c", in the function "listen_and_process",
there is a "while" loop, some socket code, and a couple of calls to
"process_packet". There is also a variable called "errcount". From
the following code...
This is leftover from a technique which prevented select spin loops;
this can happen when you select on a file decriptor belonging to a
closed tcp stream.
However, it's not really needed for a loop that's selecting on UDP
sockets, so it should be safe to remove it all.
- Ted