diff options
author | Dan Winship <danw@src.gnome.org> | 2008-01-15 22:48:40 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2008-01-15 22:48:40 +0000 |
commit | a6ca65dcea331ff0d1a2daa3e4f64fab1764318a (patch) | |
tree | 68c6884ba14e8604b7d63467c01b3848a7b8febf /libsoup/soup-connection.c | |
parent | 9771daee269be79333441ec0ec67d27bf18e2375 (diff) | |
download | libsoup-2.4.tar.gz |
Replaces SoupConnectionNTLM; now works as a SoupSession::request_startedlibsoup-2.4
* libsoup/soup-auth-manager-ntlm.c: Replaces SoupConnectionNTLM;
now works as a SoupSession::request_started watcher.
* libsoup/soup-connection.c: remove the no-longer-needed
"authenticate" signal
* libsoup/soup-session.c: Use a SoupAuthManagerNTLM if USE_NTLM is
set. Remove connection-authenticate-signal references.
svn path=/branches/libsoup-2.4/; revision=1042
Diffstat (limited to 'libsoup/soup-connection.c')
-rw-r--r-- | libsoup/soup-connection.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c index 4dc6d427..bc3e23ba 100644 --- a/libsoup/soup-connection.c +++ b/libsoup/soup-connection.c @@ -62,7 +62,6 @@ enum { CONNECT_RESULT, DISCONNECTED, REQUEST_STARTED, - AUTHENTICATE, LAST_SIGNAL }; @@ -166,17 +165,6 @@ soup_connection_class_init (SoupConnectionClass *connection_class) soup_marshal_NONE__OBJECT, G_TYPE_NONE, 1, SOUP_TYPE_MESSAGE); - signals[AUTHENTICATE] = - g_signal_new ("authenticate", - G_OBJECT_CLASS_TYPE (object_class), - G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (SoupConnectionClass, authenticate), - NULL, NULL, - soup_marshal_NONE__OBJECT_OBJECT_BOOLEAN, - G_TYPE_NONE, 3, - SOUP_TYPE_MESSAGE, - SOUP_TYPE_AUTH, - G_TYPE_BOOLEAN); /* properties */ g_object_class_install_property ( @@ -776,20 +764,3 @@ soup_connection_release (SoupConnection *conn) clear_current_request (conn); } - -/** - * soup_connection_authenticate: - * @conn: a #SoupConnection - * @msg: the message to authenticate - * @auth: the #SoupAuth to authenticate - * @retrying: %TRUE if this is the second or later try - * - * Emits the %authenticate signal on @conn. For use by #SoupConnection - * subclasses. - **/ -void -soup_connection_authenticate (SoupConnection *conn, SoupMessage *msg, - SoupAuth *auth, gboolean retrying) -{ - g_signal_emit (conn, signals[AUTHENTICATE], 0, msg, auth, retrying); -} |