Skip to content
Permalink
Browse files
<http://webkit.org/b/61078> Use toHTTPPipeliningPriority() in initial…
…izeMaximumHTTPConnectionCountPerHost()

Reviewed by Joseph Pecoraro.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Use
toHTTPPipeliningPriority() to convert arguments passed to
wkSetHTTPPipeliningMaximumPriority() and
wkSetHTTPPipeliningMinimumFastLanePriority().

Canonical link: https://commits.webkit.org/76422@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
ddkilzer committed May 18, 2011
1 parent c724fea commit 7e841af2469cf601239c14fd9fcf87fb14b852c9
Showing with 14 additions and 2 deletions.
  1. +12 −0 Source/WebCore/ChangeLog
  2. +2 −2 Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp
@@ -1,3 +1,15 @@
2011-05-18 David Kilzer <ddkilzer@apple.com>

<http://webkit.org/b/61078> Use toHTTPPipeliningPriority() in initializeMaximumHTTPConnectionCountPerHost()

Reviewed by Joseph Pecoraro.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Use
toHTTPPipeliningPriority() to convert arguments passed to
wkSetHTTPPipeliningMaximumPriority() and
wkSetHTTPPipeliningMinimumFastLanePriority().

2011-05-18 Erik Arvidsson <arv@chromium.org>

Reviewed by Ojan Vafai.
@@ -253,10 +253,10 @@ unsigned initializeMaximumHTTPConnectionCountPerHost()
ResourceRequest::setHTTPPipeliningEnabled(true);

if (ResourceRequest::httpPipeliningEnabled()) {
wkSetHTTPPipeliningMaximumPriority(ResourceLoadPriorityHighest);
wkSetHTTPPipeliningMaximumPriority(toHTTPPipeliningPriority(ResourceLoadPriorityHighest));
#if !PLATFORM(WIN)
// FIXME: <rdar://problem/9375609> Implement minimum fast lane priority setting on Windows
wkSetHTTPPipeliningMinimumFastLanePriority(ResourceLoadPriorityMedium);
wkSetHTTPPipeliningMinimumFastLanePriority(toHTTPPipeliningPriority(ResourceLoadPriorityMedium));
#endif
// When pipelining do not rate-limit requests sent from WebCore since CFNetwork handles that.
return unlimitedConnectionCount;

0 comments on commit 7e841af

Please sign in to comment.