From b4a39491cacde68c9ed5499db7fcc873976e1879 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Dec 2015 13:29:13 +0100 Subject: curl --expect100-timeout: added This is the new command line option to set the value for the existing libcurl option CURLOPT_EXPECT_100_TIMEOUT_MS --- src/tool_getparam.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tool_getparam.c') diff --git a/src/tool_getparam.c b/src/tool_getparam.c index fd20cdc26..d123e231b 100644 --- a/src/tool_getparam.c +++ b/src/tool_getparam.c @@ -179,6 +179,7 @@ static const struct LongShort aliases[]= { {"$O", "proxy-service-name", TRUE}, {"$P", "service-name", TRUE}, {"$Q", "proto-default", TRUE}, + {"$R", "expect100-timeout", TRUE}, {"0", "http1.0", FALSE}, {"01", "http1.1", FALSE}, {"02", "http2", FALSE}, @@ -999,6 +1000,11 @@ ParameterError getparameter(char *flag, /* f or -long-flag */ if(err) return err; break; + case 'R': /* --expect100-timeout */ + err = str2udouble(&config->expect100timeout, nextarg); + if(err) + return err; + break; } break; case '#': /* --progress-bar */ -- cgit v1.2.3