From 0177ed6f030afe66cf47e4c8ef659ccfcd890b73 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 1 Sep 2005 13:41:29 +0000 Subject: clarify that the ctxfunc is called on all new connects --- docs/libcurl/curl_easy_setopt.3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 68fc0f328..ea009ca6c 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -233,6 +233,9 @@ perform operation will return the error code from this callback function. Set the \fIparm\fP argument with the \fICURLOPT_SSL_CTX_DATA\fP option. This option was introduced in 7.11.0. +This function will get called on all new connections made to a server, during +the SSL negotiation. The SSL_CTX pointer will be a new one every time. + \fBNOTE:\fP To use this properly, a non-trivial amount of knowledge of the openssl libraries is necessary. Using this function allows for example to use openssl callbacks to add additional validation code for certificates, and even -- cgit v1.2.3