mirror of
https://github.com/curl/curl.git
synced 2026-08-03 08:10:29 +03:00
auto-pausing on verify callback retry
When an application install its own OpenSSL verify callback and that callback invokes `SSL_set_retry_verify()`, the transfer is automatically paused and does not progress the connect attempt any further until unpaused via `curl_easy_pause(). Added test758 to verify. Original PR by @Natris Reporting on libcurl mailing list
This commit is contained in:
parent
c24d4be057
commit
c5afc28952
7 changed files with 557 additions and 7 deletions
|
|
@ -60,7 +60,9 @@ callbacks to add additional validation code for certificates, and even to
|
|||
change the actual URI of an HTTPS request.
|
||||
|
||||
For OpenSSL, asynchronous certificate verification via *SSL_set_retry_verify*
|
||||
is supported. (Added in 8.3.0)
|
||||
is supported. When *SSL_set_retry_verify* is set, the transfer is paused.
|
||||
When the verificate should continue, call curl_easy_pause(3) to unpause
|
||||
the transfer. (Added in 8.3.0, Pausing added in 8.16.0)
|
||||
|
||||
The CURLOPT_SSL_CTX_FUNCTION(3) callback allows the application to reach in
|
||||
and modify SSL details in the connection without libcurl itself knowing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue