This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/20257] sunrpc: clntudp_call does not enforce timeout when receiving data
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 28 Feb 2017 14:46:43 +0000
- Subject: [Bug network/20257] sunrpc: clntudp_call does not enforce timeout when receiving data
- Auto-submitted: auto-generated
- References: <bug-20257-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20257
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via cf0bd2f73bd65beab613865bba567d7787836888 (commit)
from 37fb019cb02656d0ce0b8d40d56fe8c42f0d1658 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf0bd2f73bd65beab613865bba567d7787836888
commit cf0bd2f73bd65beab613865bba567d7787836888
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Feb 28 15:28:45 2017 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 23 +++
inet/Makefile | 8 +-
inet/deadline.c | 122 +++++++++++++
inet/net-internal.h | 89 +++++++++
inet/tst-deadline.c | 188 ++++++++++++++++++++
sunrpc/Makefile | 10 +-
sunrpc/clnt_udp.c | 127 ++++++++------
sunrpc/tst-udp-garbage.c | 104 +++++++++++
sunrpc/tst-udp-nonblocking.c | 333 ++++++++++++++++++++++++++++++++++
sunrpc/tst-udp-timeout.c | 402 ++++++++++++++++++++++++++++++++++++++++++
10 files changed, 1347 insertions(+), 59 deletions(-)
create mode 100644 inet/deadline.c
create mode 100644 inet/tst-deadline.c
create mode 100644 sunrpc/tst-udp-garbage.c
create mode 100644 sunrpc/tst-udp-nonblocking.c
create mode 100644 sunrpc/tst-udp-timeout.c
--
You are receiving this mail because:
You are on the CC list for the bug.