Use 60 connections and 6 per host, like unstable WebKit

This commit is contained in:
Christian Dywan 2011-03-13 20:51:13 +01:00
parent 4842406f27
commit 32825e713f

View file

@ -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);