[evolution-ews/gnome-3-16] Query auth methods right from the got-headers signal
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-16] Query auth methods right from the got-headers signal
- Date: Tue, 31 Mar 2015 08:39:34 +0000 (UTC)
commit b8c8a0d0ee29b9d1ef561993bfd6944294d86449
Author: Milan Crha <mcrha redhat com>
Date: Tue Mar 31 10:36:38 2015 +0200
Query auth methods right from the got-headers signal
libsoup 2.48.1 doesn't call the got-body signal on failed authentication,
thus use the got-headers, which is more appropriate anyway.
src/server/e-ews-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 1237c97..a22d90f 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -9217,7 +9217,7 @@ e_ews_connection_query_auth_methods (EEwsConnection *cnc,
g_simple_async_result_set_op_res_gpointer (
simple, async_data, (GDestroyNotify) async_data_free);
- soup_message_add_header_handler (SOUP_MESSAGE (msg), "got_body", "WWW-Authenticate",
+ soup_message_add_header_handler (SOUP_MESSAGE (msg), "got-headers", "WWW-Authenticate",
G_CALLBACK (ews_connection_gather_auth_methods_cb), simple);
e_ews_connection_queue_request (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]