Changeset 46039 in webkit


Ignore:
Timestamp:
Jul 17, 2009 10:53:27 AM (15 years ago)
Author:
beidson@apple.com
Message:

2009-07-17 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=26496

Let WebCore always enforce the connection-per-host limit itself.

  • loader/loader.cpp: (WebCore::Loader::Host::servePendingRequests):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r46038 r46039  
     12009-07-17  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=26496
     6
     7        Let WebCore always enforce the connection-per-host limit itself.
     8
     9        * loader/loader.cpp:
     10        (WebCore::Loader::Host::servePendingRequests):
     11
    1122009-07-17  Mario Sanchez Prada  <msanchez@igalia.com>
    213
  • trunk/WebCore/loader/loader.cpp

    r45979 r46039  
    288288        DocLoader* docLoader = request->docLoader();
    289289        bool resourceIsCacheValidator = request->cachedResource()->isCacheValidator();
    290         // If the document is fully parsed and there are no pending stylesheets there won't be any more
    291         // resources that we would want to push to the front of the queue. Just hand off the remaining resources
    292         // to the networking layer.
    293         bool parsedAndStylesheetsKnown = !docLoader->doc()->parsing() && docLoader->doc()->haveStylesheetsLoaded();
    294         if (!parsedAndStylesheetsKnown && m_requestsLoading.size() + m_nonCachedRequestsInFlight >= m_maxRequestsInFlight) {
     290
     291        if (m_requestsLoading.size() + m_nonCachedRequestsInFlight >= m_maxRequestsInFlight) {
    295292            serveLowerPriority = false;
    296293            return;
Note: See TracChangeset for help on using the changeset viewer.