WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
57384
CFNetwork and WebCore load priorities should match
https://bugs.webkit.org/show_bug.cgi?id=57384
Summary
CFNetwork and WebCore load priorities should match
David Kilzer (:ddkilzer)
Reported
2011-03-29 13:34:52 PDT
* SUMMARY When resource load priorities are round-tripped through CFNetwork for the experimental HTTP pipelining feature, we currently map 4 WebCore priorities to 3 CFNetwork priorities. This should be fixed so that the load priorities match when they are round-tripped.
Attachments
Patch v1
(12.79 KB, patch)
2011-04-04 11:52 PDT
,
David Kilzer (:ddkilzer)
ddkilzer
: commit-queue-
Details
Formatted Diff
Diff
Patch v2
(13.09 KB, patch)
2011-04-04 13:22 PDT
,
David Kilzer (:ddkilzer)
ap
: review+
ddkilzer
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2011-04-04 11:52:09 PDT
Created
attachment 88087
[details]
Patch v1
David Kilzer (:ddkilzer)
Comment 2
2011-04-04 13:22:14 PDT
Created
attachment 88111
[details]
Patch v2 Made a small fix in ResourceHandleMac.mm compared to Patch v1: if (isHTTPPipeliningEnabled()) { - int priority = mapResourceLoadPriorityToHTTPPipeliningPriority(m_priority); - wkSetHTTPPipeliningPriority(nsRequest, shouldForceHTTPPipeliningPriorityHigh() ? 2 : priority); + int priority = toHTTPPipeliningPriority(shouldForceHTTPPipeliningPriorityHigh() ? ResourceLoadPriorityHigh : m_priority); + wkSetHTTPPipeliningPriority(nsRequest, priority); }
David Kilzer (:ddkilzer)
Comment 3
2011-04-04 21:40:31 PDT
Committed
r82900
: <
http://trac.webkit.org/changeset/82900
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug