diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-07-28 17:13:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-07-28 17:34:22 +0200 |
commit | 21e090369e433624b49c406e59397f3dd063bb33 (patch) | |
tree | e0a0db29049131358b5d65d9b63480746feeae10 | |
parent | ceedf7faf47b99f003310caa527f826648155c3e (diff) | |
download | curl-21e090369e433624b49c406e59397f3dd063bb33.tar.gz |
CURLOPT_DOH_URL.3: CURLOPT_OPENSOCKETFUNCTION is not inherited
Reported-by: Daniel Woelfel
Fixes #7441
Closes #7509
-rw-r--r-- | docs/libcurl/opts/CURLOPT_DOH_URL.3 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/libcurl/opts/CURLOPT_DOH_URL.3 b/docs/libcurl/opts/CURLOPT_DOH_URL.3 index ea164a3e3..bb463654f 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, <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. |