]> git.ipfire.org Git - thirdparty/glibc.git/commit - inet/net-internal.h
sunrpc: Improvements for UDP client timeout handling [BZ #20257]
authorFlorian Weimer <fweimer@redhat.com>
Tue, 28 Feb 2017 14:28:45 +0000 (15:28 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 28 Feb 2017 14:36:17 +0000 (15:36 +0100)
commitcf0bd2f73bd65beab613865bba567d7787836888
tree8cde5a2a9547382fac6546c9397aebbb914cb485
parent37fb019cb02656d0ce0b8d40d56fe8c42f0d1658
sunrpc: Improvements for UDP client timeout handling [BZ #20257]

This commit fixes various aspects in the UDP client timeout handling.
Timeouts are now applied in a more consistent fashion.  Discarded UDP
packets no longer prevent the timeout from happening at all.
ChangeLog
inet/Makefile
inet/deadline.c [new file with mode: 0644]
inet/net-internal.h
inet/tst-deadline.c [new file with mode: 0644]
sunrpc/Makefile
sunrpc/clnt_udp.c
sunrpc/tst-udp-garbage.c [new file with mode: 0644]
sunrpc/tst-udp-nonblocking.c [new file with mode: 0644]
sunrpc/tst-udp-timeout.c [new file with mode: 0644]