summaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 62cdf4965..94b188984 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2652,6 +2652,14 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option,
data->set.trailer_data = va_arg(param, void *);
#endif
break;
+ case CURLOPT_H3:
+#ifdef USE_NGTCP2
+ arg = va_arg(param, long);
+ data->set.h3opts = arg;
+#else
+ return CURLE_NOT_BUILT_IN;
+#endif
+ break;
default:
/* unknown tag and its companion, just ignore: */
result = CURLE_UNKNOWN_OPTION;