Skip to content
Permalink
Browse files

CURLOPT_H3: removed

There's no use for this anymore and it was never in a release.

Closes #4206
  • Loading branch information...
bagder committed Aug 9, 2019
1 parent db06157 commit 084404b8abccd57f2dff95b1be601f287c1aec57
@@ -323,8 +323,6 @@ Enable and configure Alt-Svc: treatment. See \fICURLOPT_ALTSVC_CTRL(3)\fP
Do an HTTP GET request. See \fICURLOPT_HTTPGET(3)\fP
.IP CURLOPT_REQUEST_TARGET
Set the request target. \fICURLOPT_REQUEST_TARGET(3)\fP
.IP CURLOPT_H3
Specify HTTP/3 behavior. \fICURLOPT_H3(3)\fP
.IP CURLOPT_HTTP_VERSION
HTTP version to use. \fICURLOPT_HTTP_VERSION(3)\fP
.IP CURLOPT_HTTP09_ALLOWED

This file was deleted.

@@ -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) "
@@ -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 \
@@ -424,7 +424,6 @@ CURLOPT_FTP_USE_EPRT 7.10.5
CURLOPT_FTP_USE_EPSV 7.9.2
CURLOPT_FTP_USE_PRET 7.20.0
CURLOPT_GSSAPI_DELEGATION 7.22.0
CURLOPT_H3 7.66.0
CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS 7.59.0
CURLOPT_HAPROXYPROTOCOL 7.60.0
CURLOPT_HEADER 7.1
@@ -920,8 +920,6 @@ typedef enum {
#define CURLPROTO_SMBS (1<<27)
#define CURLPROTO_ALL (~0) /* enable everything */

/* bitmask defines for CURLOPT_H3 */

/* long may be 32 or 64 bits, but we should never depend on anything else
but 32 */
#define CURLOPTTYPE_LONG 0
@@ -1924,11 +1922,8 @@ typedef enum {
/* maximum age of a connection to consider it for reuse (in seconds) */
CINIT(MAXAGE_CONN, LONG, 288),

/* Bitmask to control HTTP/3 behavior. See CURLH3_* */
CINIT(H3, LONG, 289),

/* SASL authorisation identity */
CINIT(SASL_AUTHZID, STRINGPOINT, 290),
CINIT(SASL_AUTHZID, STRINGPOINT, 289),

CURLOPT_LASTENTRY /* the last unused */
} CURLoption;
@@ -2755,13 +2755,6 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
return result;
break;
#endif
case CURLOPT_H3:
#ifdef ENABLE_QUIC
/* not use anymore */
#else
return CURLE_NOT_BUILT_IN;
#endif
break;
default:
/* unknown tag and its companion, just ignore: */
result = CURLE_UNKNOWN_OPTION;
@@ -401,9 +401,6 @@
d CURLU_GUESS_SCHEME...
d c X'00000200'
*
d CURLH3_DIRECT...
d c X'00000001'
*
**************************************************************************
* Types
**************************************************************************
@@ -1423,10 +1420,8 @@
d c 10287
d CURLOPT_MAXAGE_CONN...
d c 00288
d CURLOPT_H3...
d c 00289
d CURLOPT_SASL_AUTHZID...
d c 10290
d c 10289
*
/if not defined(CURL_NO_OLDIES)
d CURLOPT_FILE c 10001

0 comments on commit 084404b

Please sign in to comment.
You can’t perform that action at this time.