From 32825e713ff244f59e6e2f5a4a58797ff2c02ec5 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 13 Mar 2011 20:51:13 +0100 Subject: [PATCH] Use 60 connections and 6 per host, like unstable WebKit --- midori/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/midori/main.c b/midori/main.c index 5ce2c2bd..c274fe1a 100644 --- a/midori/main.c +++ b/midori/main.c @@ -929,6 +929,13 @@ midori_soup_session_prepare (SoupSession* session, "SSL certificates cannot be verified.")); #endif + #if !WEBKIT_CHECK_VERSION (1, 3, 5) + /* See http://stevesouders.com/ua/index.php */ + g_object_set (session, "max-conns", 60, + "max-conns-per-host", 6, + NULL); + #endif + soup_session_settings_notify_http_proxy_cb (settings, NULL, session); g_signal_connect (settings, "notify::http-proxy", G_CALLBACK (soup_session_settings_notify_http_proxy_cb), session); -- 2.39.5