public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/17188] New: sunrpc: RPC timeout parameter is ignored when set with clnt_control on UNIX sockets
@ 2014-07-21 16:06 calderon.thomas at gmail dot com
2015-08-12 14:52 ` [Bug network/17188] " calderon.thomas at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: calderon.thomas at gmail dot com @ 2014-07-21 16:06 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17188
Bug ID: 17188
Summary: sunrpc: RPC timeout parameter is ignored when set with
clnt_control on UNIX sockets
Product: glibc
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: calderon.thomas at gmail dot com
Created attachment 7717
--> https://sourceware.org/bugzilla/attachment.cgi?id=7717&action=edit
Set the boolean value to use timeout values set with clnt_control.
Hi,
I would like to report a bug in the SunRPC implementation code.
I noticed that when trying to set a timeout value using the clnt_control
function on a UNIX socket, the timeout is never used.
The code located in clnt_unix.c is almost identical to the TCP version.
When comparing the two versions we notice that the ct->wait_set boolean value
is not set in the UNIX code path (clntunix_control vs clnttcp_control).
Therefore, RPC calls never use the timeval structure contained in ct->wait and
the code fall back on using the default RPC timeout.
I have included a sample patch.
Best regards,
Thomas Calderon.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug network/17188] sunrpc: RPC timeout parameter is ignored when set with clnt_control on UNIX sockets
2014-07-21 16:06 [Bug network/17188] New: sunrpc: RPC timeout parameter is ignored when set with clnt_control on UNIX sockets calderon.thomas at gmail dot com
@ 2015-08-12 14:52 ` calderon.thomas at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: calderon.thomas at gmail dot com @ 2015-08-12 14:52 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17188
--- Comment #1 from CALDERON Thomas <calderon.thomas at gmail dot com> ---
Any update?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-12 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21 16:06 [Bug network/17188] New: sunrpc: RPC timeout parameter is ignored when set with clnt_control on UNIX sockets calderon.thomas at gmail dot com
2015-08-12 14:52 ` [Bug network/17188] " calderon.thomas at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).