Start SSL after CONNECTing! Doh. Part of bnc #174255.
authorDan Winship <danw@src.gnome.org>
Fri, 26 May 2006 18:14:37 +0000 (18:14 +0000)
committerDan Winship <danw@src.gnome.org>
Fri, 26 May 2006 18:14:37 +0000 (18:14 +0000)
commit631e4c36a7d8653263441743a21e6b0ded478857
treef2894c223a0c9879a0e50c2f8b010b3a7813df23
parent318d622c1f03c8165ee9f7ab0aaf38c46f06ef60
Start SSL after CONNECTing! Doh. Part of bnc #174255.

* libsoup/soup-connection.c (soup_connection_connect_sync): Start
SSL after CONNECTing! Doh. Part of bnc #174255.
(SoupConnectionMode): new enum for the three types of
SoupConnection (direct, proxy, tunnel).
(set_property): set priv->mode according to proxy_uri and
conn_uri.
(socket_connect_result, soup_connection_connect_sync): use
priv->mode to decide whether or not to tunnel.
(send_request): Only pass TRUE for is_proxy to
soup_message_send_request if mode is PROXY, not if it's TUNNEL.
(Also part of bnc #174255).
ChangeLog
libsoup/soup-connection.c