diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-07 14:17:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-08 08:17:24 +0200 |
commit | 026840e35c7359c23741afe633bd3ab4b121c4ed (patch) | |
tree | fc931e91538dfd07ecc6653e897a4491cfb8cc3f /src/tool_operate.c | |
parent | 317076876a056d26175e07e21bd32f9889bf8ea2 (diff) |
CURLOPT_HTTP_VERSION: seting this to 3 forces HTTP/3 use directly
Even though it cannot fall-back to a lower HTTP version automatically. The
safer way to upgrade remains via CURLOPT_ALTSVC.
CURLOPT_H3 no longer has any bits that do anything and might be removed
before we remove the experimental label.
Updated the curl tool accordingly to use "--http3".
Closes #4197
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 01ee20061..c9189bdee 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1132,9 +1132,6 @@ static CURLcode create_transfers(struct GlobalConfig *global, if(config->tcp_fastopen) my_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L); - if(config->h3direct) - my_setopt(curl, CURLOPT_H3, CURLH3_DIRECT); - /* where to store */ my_setopt(curl, CURLOPT_WRITEDATA, per); my_setopt(curl, CURLOPT_INTERLEAVEDATA, per); |