Top | ![]() |
![]() |
![]() |
![]() |
void e_soup_ssl_trust_connect (,
SoupMessage *soup_messageESource *source
);
Sets up automatic SSL certificate trust handling for soup_message
using the trust
data stored in source
's WebDAV extension. If soup_message
is about to be sent on
an SSL connection with an invalid certificate, the code checks if the WebDAV
extension already has a trust response for that certificate and verifies it
with e_source_webdav_verify_ssl_trust()
. If the verification fails, then
the soup_message
send also fails.
This works by connecting to the "network-event" signal on soup_message
and
connecting to the "accept-certificate" signal on each soup_message
reports a soup_message
is disposed. This process
is not thread-safe; it is sufficient for safety if all use of soup_message
's
session and the disposal of soup_message
occur in the same thread.
soup_message |
a |
|
source |
an ESource that uses WebDAV |
Since: 3.16