* clnt_udp.c (clntudp_call): Do not assume that select will not
authorEzra Peisach <epeisach@mit.edu>
Fri, 10 Aug 2001 15:20:16 +0000 (15:20 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 10 Aug 2001 15:20:16 +0000 (15:20 +0000)
commit63e760248419c157f3677582775f498f65bddd3d
tree1600d79860511e3e81dc1672e8ca514e729d7dcf
parent1fe4979be233929d903c79641d83e6ff8ca8e47a
* clnt_udp.c (clntudp_call): Do not assume that select will not
change the timeout struct timeval. Under Linux, this reflects the
time left available - which might result in 0 in the case of a
timeout. When attempting to resend a request, this may results in
a timeout of zero - flooding the server with replay requests.

* clnt_tcp.c (readtcp): Same.
* pmap_rmt.c (clnt_broadcast): Same
* svc_tcp.c (readtcp): Same

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13679 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/rpc/ChangeLog
src/lib/rpc/clnt_tcp.c
src/lib/rpc/clnt_udp.c
src/lib/rpc/pmap_rmt.c
src/lib/rpc/svc_tcp.c