5753 libnsl: set_up_connection() over TCP does not adhere the specified timeout

Review Request #37 - Created April 17, 2015 and submitted

Information
Marcel Telka
illumos-gate
5753
Reviewers
general

webrev: http://cr.illumos.org/~webrev/marcel/il-5753-set_up_connection/

The set_up_connection() over TCP does not adhere the specified timeout.

Without the fix:

# time ./rpc-timeout 10.0.0.99 5
clnt_create_service_timed failed

real    6m29.996s
user    0m0.002s
sys     0m0.005s
#

With the fix:

# time ./rpc-timeout 10.0.0.99 5
clnt_create_service_timed failed

real    0m7.934s
user    0m0.001s
sys     0m0.004s
#
Yuri Pankov
Marcel Telka
Gordon Ross
Marcel Telka
Review request changed

Status: Closed (submitted)

Change Summary:

commit 7e89328164e4b89906924cf4e0387ea13a77631b
Author:     Marcel Telka <marcel.telka@nexenta.com>
AuthorDate: Mon Apr 20 15:41:13 2015 +0200
Commit:     Richard Lowe <richlowe@richlowe.net>
CommitDate: Tue May 5 14:41:51 2015 -0400

    5753 libnsl: set_up_connection() over TCP does not adhere the specified timeout
    Reviewed by: Dan Fields <dan.fields@nexenta.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

:100644 100644 4f92a33... 4ab5010... M  usr/src/lib/libnsl/rpc/clnt_vc.c
Loading...