[Webkit-unassigned] [Bug 57384] CFNetwork and WebCore load priorities should match

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 4 13:22:15 PDT 2011


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


David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |ddkilzer at webkit.org
                   |kit.org                     |
  Attachment #88087|0                           |1
        is obsolete|                            |
  Attachment #88087|review?                     |
               Flag|                            |
  Attachment #88111|                            |review?, commit-queue-
               Flag|                            |




--- Comment #2 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2011-04-04 13:22:14 PST ---
Created an attachment (id=88111)
 --> (https://bugs.webkit.org/attachment.cgi?id=88111&action=review)
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);
     }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list