Title: [198281] releases/WebKitGTK/webkit-2.12/Source/WebCore
Revision
198281
Author
[email protected]
Date
2016-03-16 08:31:04 -0700 (Wed, 16 Mar 2016)

Log Message

Merge r198127 - Enable GSS-Negotiate support in libsoup
https://bugs.webkit.org/show_bug.cgi?id=155354

Patch by Tomas Popela <[email protected]> on 2016-03-14
Reviewed by Carlos Garcia Campos.

Enable the SOUP_TYPE_AUTH_NEGOTIATE feature if libsoup was compiled
with the GSS-Negotiate support.

* platform/network/soup/SoupNetworkSession.cpp:
(WebCore::SoupNetworkSession::SoupNetworkSession):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog (198280 => 198281)


--- releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog	2016-03-16 15:16:50 UTC (rev 198280)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog	2016-03-16 15:31:04 UTC (rev 198281)
@@ -1,3 +1,16 @@
+2016-03-14  Tomas Popela  <[email protected]>
+
+        Enable GSS-Negotiate support in libsoup
+        https://bugs.webkit.org/show_bug.cgi?id=155354
+
+        Reviewed by Carlos Garcia Campos.
+
+        Enable the SOUP_TYPE_AUTH_NEGOTIATE feature if libsoup was compiled
+        with the GSS-Negotiate support.
+
+        * platform/network/soup/SoupNetworkSession.cpp:
+        (WebCore::SoupNetworkSession::SoupNetworkSession):
+
 2016-03-16  Carlos Garcia Campos  <[email protected]>
 
         REGRESSION(r195661): [GTK] very slow scrolling

Modified: releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/network/soup/SoupNetworkSession.cpp (198280 => 198281)


--- releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/network/soup/SoupNetworkSession.cpp	2016-03-16 15:16:50 UTC (rev 198280)
+++ releases/WebKitGTK/webkit-2.12/Source/WebCore/platform/network/soup/SoupNetworkSession.cpp	2016-03-16 15:31:04 UTC (rev 198281)
@@ -110,6 +110,14 @@
         SOUP_SESSION_USE_THREAD_CONTEXT, TRUE,
         nullptr);
 
+#if SOUP_CHECK_VERSION(2, 53, 92)
+    if (soup_auth_negotiate_supported()) {
+        g_object_set(m_soupSession.get(),
+            SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_AUTH_NEGOTIATE,
+            nullptr);
+    }
+#endif
+
     setupLogger();
 
     g_signal_connect(m_soupSession.get(), "authenticate", G_CALLBACK(authenticateCallback), nullptr);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to