From: Jay Satiro Date: Wed, 29 Aug 2018 14:08:16 +0000 (-0400) Subject: CURLOPT_SSL_CTX_FUNCTION.3: clarify connection reuse warning X-Git-Tag: curl-7_61_1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c10f5b02a89350cdb12dc2a6b35d4d716b9a9c74;p=thirdparty%2Fcurl.git CURLOPT_SSL_CTX_FUNCTION.3: clarify connection reuse warning Reported-by: Daniel Stenberg Closes https://github.com/curl/curl/issues/2916 --- diff --git a/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 b/docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.3 index 0d736107bb..04d8e297e6 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