From 21e090369e433624b49c406e59397f3dd063bb33 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 28 Jul 2021 17:13:32 +0200 Subject: [PATCH] CURLOPT_DOH_URL.3: CURLOPT_OPENSOCKETFUNCTION is not inherited Reported-by: Daniel Woelfel Fixes #7441 Closes #7509 --- docs/libcurl/opts/CURLOPT_DOH_URL.3 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/libcurl/opts/CURLOPT_DOH_URL.3 b/docs/libcurl/opts/CURLOPT_DOH_URL.3 index ea164a3e39..bb463654fa 100644 --- a/docs/libcurl/opts/CURLOPT_DOH_URL.3 +++ b/docs/libcurl/opts/CURLOPT_DOH_URL.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 2018, Daniel Stenberg, , et al. +.\" * Copyright (C) 2018 - 2021, 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 @@ -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. -- 2.47.3