]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_DOH_URL.3: CURLOPT_OPENSOCKETFUNCTION is not inherited
authorDaniel Stenberg <daniel@haxx.se>
Wed, 28 Jul 2021 15:13:32 +0000 (17:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 Jul 2021 15:34:22 +0000 (17:34 +0200)
Reported-by: Daniel Woelfel
Fixes #7441
Closes #7509

docs/libcurl/opts/CURLOPT_DOH_URL.3

index ea164a3e39a8f05b4bd7119df380c516c803958b..bb463654fafde281c360d1b44ce7389fa3020729 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -44,12 +44,15 @@ will use the default name lookup function. You can bootstrap that by providing
 the address for the DoH server with \fICURLOPT_RESOLVE(3)\fP.
 
 Disable DoH use again by setting this option to NULL.
+.SH "INHERIT OPTIONS"
+DoH lookups use SSL and some SSL settings from your transfer are inherited,
+like \fICURLOPT_SSL_CTX_FUNCTION(3)\fP.
 
-\fBAdvanced:\fP The DoH lookups use SSL so some SSL settings from your transfer
-are inherited. The hostname and peer certificate verification settings are not
-inherited and can be controlled separately via
-\fICURLOPT_DOH_SSL_VERIFYHOST(3)\fP and \fICURLOPT_DOH_SSL_VERIFYPEER(3)\fP.
-Note \fICURLOPT_SSL_CTX_FUNCTION(3)\fP is inherited.
+The hostname and peer certificate verification settings are not inherited but
+can be controlled separately via \fICURLOPT_DOH_SSL_VERIFYHOST(3)\fP and
+\fICURLOPT_DOH_SSL_VERIFYPEER(3)\fP.
+
+A set \fICURLOPT_OPENSOCKETFUNCTION(3)\fP callback is not inherited.
 .SH DEFAULT
 NULL - there is no default DoH URL. If this option isn't set, libcurl will use
 the default name resolver.