mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:43:47 +03:00
lib: SSL connection reuse
Protocol handlers not flagging PROTOPT_SSL that allow reuse of existing SSL connections now need to carry the flag PROTOPT_SSL_REUSE. Add PROTOPT_SSL_REUSE to imap, ldap, pop3, smtp and ftp. Add tests the http: urls do not reuse https: connections and vice versa. Reported-by: Sakthi SK Fixes #19006 Closes #19007
This commit is contained in:
parent
dd7762c309
commit
6e35eb4879
9 changed files with 35 additions and 10 deletions
|
|
@ -200,7 +200,7 @@ const struct Curl_handler Curl_handler_pop3 = {
|
|||
CURLPROTO_POP3, /* protocol */
|
||||
CURLPROTO_POP3, /* family */
|
||||
PROTOPT_CLOSEACTION | PROTOPT_NOURLQUERY | /* flags */
|
||||
PROTOPT_URLOPTIONS
|
||||
PROTOPT_URLOPTIONS | PROTOPT_SSL_REUSE
|
||||
};
|
||||
|
||||
#ifdef USE_SSL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue