From d551bb117f7639384594f40295192493d9a67b23 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 1 Apr 2007 03:41:25 +0000 Subject: added timeout option --- src/wsman-client-options.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wsman-client-options.c b/src/wsman-client-options.c index 7afe82a..3c21014 100644 --- a/src/wsman-client-options.c +++ b/src/wsman-client-options.c @@ -71,6 +71,7 @@ static char *agent = NULL; static char *url_path = NULL; static char *authentication_method = NULL; static char no_verify_peer = 0; +static int transport_timeout = 0; static char *proxy = NULL; static char *proxy_upwd = NULL; @@ -162,6 +163,8 @@ char wsman_parse_options(int argc, char **argv) "Write output to file", ""}, {"noverifypeer", 'V', U_OPTION_ARG_NONE, &no_verify_peer, "Not to verify peer certificate", NULL}, + {"transport-timeout", 'I', U_OPTION_ARG_INT, &transport_timeout, + "Transport timeout in seconds", "