Changeset 52079 in webkit
- Timestamp:
- Dec 13, 2009 7:10:56 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52073 r52079 1 2009-11-30 Holger Hans Peter Freyther <zecke@selfish.org> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Implement initializeMaximumHTTPConnectionCountPerHost. 6 https://bugs.webkit.org/show_bug.cgi?id=31849 7 8 Qt allows to have three connections per host on Symbian, for 9 every other platform the limit is set to six connections per 10 host but the default implementation will only schedule four 11 connections per host. 12 In a manual test we seem to get the best loading speed by 13 going with Qt's limit and schedule two more jobs to allow Qt 14 to prepare them. 15 16 * platform/network/ResourceRequestBase.cpp: 17 * platform/network/qt/ResourceRequestQt.cpp: 18 (WebCore::initializeMaximumHTTPConnectionCountPerHost): 19 1 20 2009-12-13 Dan Bernstein <mitz@apple.com> 2 21 -
trunk/WebCore/platform/network/ResourceRequestBase.cpp
r52005 r52079 391 391 } 392 392 393 #if !PLATFORM(MAC) && !USE(CFNETWORK) && !USE(SOUP) && !PLATFORM(CHROMIUM) && !PLATFORM(ANDROID) 393 #if !PLATFORM(MAC) && !USE(CFNETWORK) && !USE(SOUP) && !PLATFORM(CHROMIUM) && !PLATFORM(ANDROID) && !PLATFORM(QT) 394 394 unsigned initializeMaximumHTTPConnectionCountPerHost() 395 395 { -
trunk/WebCore/platform/network/qt/ResourceRequestQt.cpp
r51174 r52079 1 1 /* 2 Copyright (C) 200 8Nokia Corporation and/or its subsidiary(-ies)2 Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) 3 3 4 4 This library is free software; you can redistribute it and/or … … 27 27 28 28 namespace WebCore { 29 30 // Currently Qt allows three connections per host on symbian and six 31 // for everyone else. The limit can be found in qhttpnetworkconnection.cpp. 32 // To achieve the best result we want WebKit to schedule the jobs so we 33 // are using the limit as found in Qt. To allow Qt to fill its queue 34 // and prepare jobs we will schedule two more downloads. 35 unsigned initializeMaximumHTTPConnectionCountPerHost() 36 { 37 #ifdef Q_OS_SYMBIAN 38 return 3 + 2; 39 #else 40 return 6 + 2; 41 #endif 42 } 29 43 30 44 QNetworkRequest ResourceRequest::toNetworkRequest(QObject* originatingFrame) const
Note: See TracChangeset
for help on using the changeset viewer.