soup_message_get_https_status: provide info for failed attempts too
authorDan Winship <danw@gnome.org>
Mon, 7 Jan 2013 21:30:55 +0000 (16:30 -0500)
committerDan Winship <danw@gnome.org>
Mon, 7 Jan 2013 21:30:55 +0000 (16:30 -0500)
commit645d0943d61885d714e39652b2af65cee4741d17
tree0551b373d823a3adf287310d641739fe7348d9ab
parentc2ce0f99c1551161fdf6e13a9f83bf8cb656b6d6
soup_message_get_https_status: provide info for failed attempts too

SoupMessage:tls-certificate and SoupMessage:tls-errors were only
getting set for successful https connections. It is useful to have
them be set on failed ones as well. Fix that, and make ssl-test test
it.

https://bugzilla.gnome.org/show_bug.cgi?id=690176
libsoup/soup-message.c
libsoup/soup-session.c
tests/ssl-test.c