diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2020-11-03 13:59:12 +0100 |
---|---|---|
committer | Carlos Garcia Campos <cgarcia@igalia.com> | 2020-11-03 14:16:00 +0100 |
commit | aa5ef9f6442cb7cdf62f1e1c595edabcff409bbf (patch) | |
tree | 0735a4edb5e465bff7caa8914d424f4b84cf4470 /libsoup/soup-message-io.c | |
parent | 5008db7918dd8c03d599473da3e47ab2b2e39726 (diff) | |
download | libsoup-carlosgc/ssl.tar.gz |
message: add SoupMessage::accept-certificate signalcarlosgc/ssl
And remove the SoupSession:ssl-strict property, apps can connect to
accept-certificate and return TRUE to accept certificates with errors.
soup_message_get_https_status has been replaced by property getters and
both properties are now read only.
Diffstat (limited to 'libsoup/soup-message-io.c')
-rw-r--r-- | libsoup/soup-message-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c index 9859c0ef..6a83d37a 100644 --- a/libsoup/soup-message-io.c +++ b/libsoup/soup-message-io.c @@ -776,7 +776,7 @@ io_run_until (SoupMessage *msg, gboolean blocking, "wrote %" G_GOFFSET_FORMAT "B, " "Last-Modified: %s, " "ETag: %s", - soup_message_get_https_status (msg, NULL, NULL) ? "HTTPS" : "HTTP", + soup_message_get_tls_certificate (msg) ? "HTTPS" : "HTTP", uri_str, io->read_length, io->write_length, (last_modified != NULL) ? last_modified : "(unset)", (etag != NULL) ? etag : "(unset)"); |