From c10f5b02a89350cdb12dc2a6b35d4d716b9a9c74 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 29 Aug 2018 10:08:16 -0400 Subject: CURLOPT_SSL_CTX_FUNCTION.3: clarify connection reuse warning Reported-by: Daniel Stenberg Closes https://github.com/curl/curl/issues/2916 --- docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/libcurl/opts') diff --git a/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 b/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 index 0d736107b..04d8e297e 100644 --- a/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 @@ -61,7 +61,8 @@ change the actual URI of an HTTPS request. WARNING: The \fICURLOPT_SSL_CTX_FUNCTION(3)\fP callback allows the application to reach in and modify SSL details in the connection without libcurl itself knowing anything about it, which then subsequently can lead to libcurl -unknowingly reusing SSL connections with different properties. +unknowingly reusing SSL connections with different properties. To remedy this +you may set \fICURLOPT_FORBID_REUSE(3)\fP from the callback function. .SH DEFAULT NULL .SH PROTOCOLS -- cgit v1.2.3