clarify that the ctxfunc is called on all new connects

This commit is contained in:
Daniel Stenberg 2005-09-01 13:41:29 +00:00
parent c62635a3b5
commit 0177ed6f03

View File

@ -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 the \fIparm\fP argument with the \fICURLOPT_SSL_CTX_DATA\fP option. This
option was introduced in 7.11.0. 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 \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 libraries is necessary. Using this function allows for example to use
openssl callbacks to add additional validation code for certificates, and even openssl callbacks to add additional validation code for certificates, and even