Changeset 58254 in webkit


Ignore:
Timestamp:
Apr 26, 2010 7:33:22 AM (14 years ago)
Author:
Simon Hausmann
Message:

[Qt] HTTP pipelining efficiency increase
https://bugs.webkit.org/show_bug.cgi?id=38062

Patch by Markus Goetz <Markus.Goetz@nokia.com> on 2010-04-26
Reviewed by Simon Hausmann.

Increase number of network requests that are fed into
QNetworkAccessManager.

  • platform/network/qt/ResourceRequestQt.cpp:

(WebCore::initializeMaximumHTTPConnectionCountPerHost):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58252 r58254  
     12010-04-26  Markus Goetz  <Markus.Goetz@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] HTTP pipelining efficiency increase
     6        https://bugs.webkit.org/show_bug.cgi?id=38062
     7
     8        Increase number of network requests that are fed into
     9        QNetworkAccessManager.
     10
     11        * platform/network/qt/ResourceRequestQt.cpp:
     12        (WebCore::initializeMaximumHTTPConnectionCountPerHost):
     13
    1142010-04-26  Ilya Tikhonovsky  <loislo@chromium.org>
    215
  • trunk/WebCore/platform/network/qt/ResourceRequestQt.cpp

    r52079 r58254  
    3333// are using the limit as found in Qt. To allow Qt to fill its queue
    3434// and prepare jobs we will schedule two more downloads.
     35// Per TCP connection there is 1 current processed, 3 possibly pipelined
     36// and 2 ready to re-fill the pipeline.
    3537unsigned initializeMaximumHTTPConnectionCountPerHost()
    3638{
    3739#ifdef Q_OS_SYMBIAN
    38     return 3 + 2;
     40    return 3 * (1 + 3 + 2);
    3941#else
    40     return 6 + 2;
     42    return 6 * (1 + 3 + 2);
    4143#endif
    4244}
Note: See TracChangeset for help on using the changeset viewer.