From 084404b8abccd57f2dff95b1be601f287c1aec57 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Aug 2019 11:17:02 +0200 Subject: CURLOPT_H3: removed There's no use for this anymore and it was never in a release. Closes #4206 --- docs/libcurl/opts/CURLOPT_H3.3 | 57 -------------------------------- docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 | 4 +-- docs/libcurl/opts/Makefile.inc | 1 - 3 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 docs/libcurl/opts/CURLOPT_H3.3 (limited to 'docs/libcurl/opts') diff --git a/docs/libcurl/opts/CURLOPT_H3.3 b/docs/libcurl/opts/CURLOPT_H3.3 deleted file mode 100644 index 3411073fd..000000000 --- a/docs/libcurl/opts/CURLOPT_H3.3 +++ /dev/null @@ -1,57 +0,0 @@ -.\" ************************************************************************** -.\" * _ _ ____ _ -.\" * Project ___| | | | _ \| | -.\" * / __| | | | |_) | | -.\" * | (__| |_| | _ <| |___ -.\" * \___|\___/|_| \_\_____| -.\" * -.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. -.\" * -.\" * This software is licensed as described in the file COPYING, which -.\" * you should have received as part of this distribution. The terms -.\" * are also available at https://curl.haxx.se/docs/copyright.html. -.\" * -.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell -.\" * copies of the Software, and permit persons to whom the Software is -.\" * furnished to do so, under the terms of the COPYING file. -.\" * -.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY -.\" * KIND, either express or implied. -.\" * -.\" ************************************************************************** -.\" -.TH CURLOPT_H3 3 "27 Nov 2018" "libcurl 7.66.0" "curl_easy_setopt options" -.SH NAME -CURLOPT_H3 \- specify HTTP/3 protocol behavior -.SH SYNOPSIS -#include - -CURLcode curl_easy_setopt(CURL *handle, CURLOPT_H3, long bitmask); -.SH EXPERIMENTAL -Warning: this feature is early code and is marked as experimental. It can only -be enabled by explicitly invoking configure with \fB--with-quiche\fP or -\fB--with-ngtcp2\fP. You are advised to not ship this feature used in -production before the experimental label is removed. -.SH DESCRIPTION -This function accepts a long \fIbitmask\fP with a set of flags set that -controls the HTTP/3 behavior for this transfer. -.SH DEFAULT -0 -.SH PROTOCOLS -HTTPS -.SH EXAMPLE -.nf -CURL *curl = curl_easy_init(); -if(curl) { - CURLcode ret; - curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); - curl_easy_setopt(curl, CURLOPT_H3, (long)0); - ret = curl_easy_perform(curl); -} -.fi -.SH AVAILABILITY -Added in 7.66.0 -.SH RETURN VALUE -Returns CURLE_OK if supported, an error otherwise. -.SH "SEE ALSO" -.BR CURLOPT_HTTP_VERSION "(3), " diff --git a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 index 564c0dc16..2466d838c 100644 --- a/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 +++ b/docs/libcurl/opts/CURLOPT_HTTP_VERSION.3 @@ -62,7 +62,7 @@ TLS handshake. (Added in 7.49.0) directly to server given in the URL. Note that this cannot gracefully downgrade to earlier HTTP version if the server doesn't support HTTP/3. -For more reliably upgrading into HTTP/3, set the prefered version to something +For more reliably upgrading to HTTP/3, set the prefered version to something lower and let the server announce its HTTP/3 support via Alt-Svc:. See \fICURLOPT_ALTSVC(3)\fP. .SH DEFAULT @@ -90,4 +90,4 @@ Along with HTTP Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" .BR CURLOPT_SSLVERSION "(3), " CURLOPT_HTTP200ALIASES "(3), " -.BR CURLOPT_HTTP09_ALLOWED "(3), " CURLOPT_H3 "(3), " CURLOPT_ALTSVC "(3) " +.BR CURLOPT_HTTP09_ALLOWED "(3), " CURLOPT_ALTSVC "(3) " diff --git a/docs/libcurl/opts/Makefile.inc b/docs/libcurl/opts/Makefile.inc index b7cd7a698..b5f62a159 100644 --- a/docs/libcurl/opts/Makefile.inc +++ b/docs/libcurl/opts/Makefile.inc @@ -151,7 +151,6 @@ man_MANS = \ CURLOPT_FTP_USE_EPSV.3 \ CURLOPT_FTP_USE_PRET.3 \ CURLOPT_GSSAPI_DELEGATION.3 \ - CURLOPT_H3.3 \ CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.3 \ CURLOPT_HAPROXYPROTOCOL.3 \ CURLOPT_HEADER.3 \ -- cgit v1.2.3