diff options
author | Dan Winship <danw@gnome.org> | 2011-08-07 13:02:51 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2011-08-07 13:07:09 -0400 |
commit | 5ddafe9abc8b594016f401c0b53a481e706e74c6 (patch) | |
tree | 68d1e61ad23c7f61db14d78596369191547b7d46 /libsoup/soup-connection.h | |
parent | ca6f8d53ab3dbbfee1cfb56d080f44afc4b0e5b4 (diff) | |
download | libsoup-5ddafe9abc8b594016f401c0b53a481e706e74c6.tar.gz |
Default to TLS for https connections, and fall back to SSLv3 on failure
Rather than always using SSLv3, try proper TLS+extensions first, and
fall back to SSLv3-without-extensions if that gives an error that
looks like it might mean "broken SSLv3-only server". Use
SoupSessionHost to record the fallback status for a host.
https://bugzilla.gnome.org/show_bug.cgi?id=581342
Diffstat (limited to 'libsoup/soup-connection.h')
-rw-r--r-- | libsoup/soup-connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h index f3b936c0..ef304e7d 100644 --- a/libsoup/soup-connection.h +++ b/libsoup/soup-connection.h @@ -85,6 +85,8 @@ void soup_connection_send_request (SoupConnection *conn, SoupMessageCompletionFn completion_cb, gpointer user_data); +gboolean soup_connection_get_ssl_fallback (SoupConnection *conn); + G_END_DECLS #endif /* SOUP_CONNECTION_H */ |