This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5379] sunrpc: Fix hangs in UDP RPC calls
- From: "mikeh at fesnel dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Oct 2008 19:19:26 -0000
- Subject: [Bug libc/5379] sunrpc: Fix hangs in UDP RPC calls
- References: <20071121032912.5379.pasky@suse.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mikeh at fesnel dot com 2008-10-10 19:19 -------
Created an attachment (id=2993)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2993&action=view)
Proposed patch
Here's a different patch for the same bug. This deducts time spent in poll(2)
for each EINTR and reduces the timeout for the subsequent calls to poll(2).
Warning: This patch should compile but I don't have the ability to test it.
Caveats: No way to distinguish the time spent in the signal handler that
interrupted poll(2) from time actually spent polling.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2102 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=5379
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.