Changeset 83882 in webkit


Ignore:
Timestamp:
Apr 14, 2011 12:50:37 PM (13 years ago)
Author:
psolanki@apple.com
Message:

Set minimum priority for fast lane connections
https://bugs.webkit.org/show_bug.cgi?id=58353

Reviewed by David Kilzer.

Source/WebCore:

  • WebCore.exp.in:
  • platform/mac/WebCoreSystemInterface.h:
  • platform/mac/WebCoreSystemInterface.mm:
  • platform/network/cf/ResourceRequestCFNet.cpp:

(WebCore::initializeMaximumHTTPConnectionCountPerHost): Call
wkSetHTTPPipeliningMinimumFastLanePriority to allow javascript resources to use the fast
lane connections.

Source/WebKit/mac:

  • WebCoreSupport/WebSystemInterface.mm:

(InitWebCoreSystemInterface): Support for new WKSI method WKSetHTTPPipeliningMinimumFastLanePriority.

Source/WebKit2:

  • WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:

(InitWebCoreSystemInterface): Support for new WKSI method WKSetHTTPPipeliningMinimumFastLanePriority.

WebKitLibraries:

Add WKSetHTTPPipeliningMinimumFastLanePriority.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
Location:
trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r83875 r83882  
     12011-04-14  Pratik Solanki  <psolanki@apple.com>
     2
     3        Reviewed by David Kilzer.
     4
     5        Set minimum priority for fast lane connections
     6        https://bugs.webkit.org/show_bug.cgi?id=58353
     7
     8        * WebCore.exp.in:
     9        * platform/mac/WebCoreSystemInterface.h:
     10        * platform/mac/WebCoreSystemInterface.mm:
     11        * platform/network/cf/ResourceRequestCFNet.cpp:
     12        (WebCore::initializeMaximumHTTPConnectionCountPerHost): Call
     13        wkSetHTTPPipeliningMinimumFastLanePriority to allow javascript resources to use the fast
     14        lane connections.
     15
    1162011-04-14  Kenneth Russell  <kbr@google.com>
    217
  • trunk/Source/WebCore/WebCore.exp.in

    r83814 r83882  
    13741374_wkSetHTTPCookiesForURL
    13751375_wkSetHTTPPipeliningMaximumPriority
     1376_wkSetHTTPPipeliningMinimumFastLanePriority
    13761377_wkSetHTTPPipeliningPriority
    13771378_wkSetNSURLConnectionDefersCallbacks
  • trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h

    r83770 r83882  
    158158extern void (*wkSetHTTPPipeliningMaximumPriority)(int maximumPriority);
    159159extern void (*wkSetHTTPPipeliningPriority)(NSMutableURLRequest *, int priority);
     160extern void (*wkSetHTTPPipeliningMinimumFastLanePriority)(int priority);
    160161extern void (*wkSetCONNECTProxyForStream)(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort);
    161162extern void (*wkSetCONNECTProxyAuthorizationForStream)(CFReadStreamRef, CFStringRef proxyAuthorizationString);
  • trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm

    r83770 r83882  
    9494void (*wkSetHTTPPipeliningMaximumPriority)(int priority);
    9595void (*wkSetHTTPPipeliningPriority)(NSMutableURLRequest *, int priority);
     96void (*wkSetHTTPPipeliningMinimumFastLanePriority)(int priority);
    9697void (*wkSetCONNECTProxyForStream)(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort);
    9798void (*wkSetCONNECTProxyAuthorizationForStream)(CFReadStreamRef, CFStringRef proxyAuthorizationString);
  • trunk/Source/WebCore/platform/network/cf/ResourceRequestCFNet.cpp

    r82900 r83882  
    221221    if (isHTTPPipeliningEnabled()) {
    222222        wkSetHTTPPipeliningMaximumPriority(ResourceLoadPriorityHighest);
     223        wkSetHTTPPipeliningMinimumFastLanePriority(ResourceLoadPriorityMedium);
    223224        // When pipelining do not rate-limit requests sent from WebCore since CFNetwork handles that.
    224225        return unlimitedConnectionCount;
  • trunk/Source/WebKit/mac/ChangeLog

    r83808 r83882  
     12011-04-14  Pratik Solanki  <psolanki@apple.com>
     2
     3        Reviewed by David Kilzer.
     4
     5        Set minimum priority for fast lane connections
     6        https://bugs.webkit.org/show_bug.cgi?id=58353
     7
     8        * WebCoreSupport/WebSystemInterface.mm:
     9        (InitWebCoreSystemInterface): Support for new WKSI method WKSetHTTPPipeliningMinimumFastLanePriority.
     10
    1112011-04-13  Oliver Hunt  <oliver@apple.com>
    212
  • trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm

    r83770 r83882  
    7979    INIT(SetHTTPPipeliningMaximumPriority);
    8080    INIT(SetHTTPPipeliningPriority);
     81    INIT(SetHTTPPipeliningMinimumFastLanePriority);
    8182    INIT(SetNSURLConnectionDefersCallbacks);
    8283    INIT(SetNSURLRequestShouldContentSniff);
  • trunk/Source/WebKit2/ChangeLog

    r83872 r83882  
     12011-04-14  Pratik Solanki  <psolanki@apple.com>
     2
     3        Reviewed by David Kilzer.
     4
     5        Set minimum priority for fast lane connections
     6        https://bugs.webkit.org/show_bug.cgi?id=58353
     7
     8        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
     9        (InitWebCoreSystemInterface): Support for new WKSI method WKSetHTTPPipeliningMinimumFastLanePriority.
     10
    1112011-04-14  Anders Carlsson  <andersca@apple.com>
    212
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm

    r83770 r83882  
    8787        INIT(SetHTTPPipeliningMaximumPriority);
    8888        INIT(SetHTTPPipeliningPriority);
     89        INIT(SetHTTPPipeliningMinimumFastLanePriority);
    8990        INIT(SetNSURLConnectionDefersCallbacks);
    9091        INIT(SetNSURLRequestShouldContentSniff);
  • trunk/WebKitLibraries/ChangeLog

    r83342 r83882  
     12011-04-14  Pratik Solanki  <psolanki@apple.com>
     2
     3        Reviewed by David Kilzer.
     4
     5        Set minimum priority for fast lane connections
     6        https://bugs.webkit.org/show_bug.cgi?id=58353
     7
     8        Add WKSetHTTPPipeliningMinimumFastLanePriority.
     9
     10        * WebKitSystemInterface.h:
     11        * libWebKitSystemInterfaceLeopard.a:
     12        * libWebKitSystemInterfaceSnowLeopard.a:
     13
    1142011-04-08  Alpha Lam  <hclam@chromium.org>
    215
  • trunk/WebKitLibraries/WebKitSystemInterface.h

    r82900 r83882  
    355355void WKSetHTTPPipeliningMaximumPriority(int maximumPriority);
    356356void WKSetHTTPPipeliningPriority(NSMutableURLRequest *, int priority);
     357void WKSetHTTPPipeliningMinimumFastLanePriority(int priority);
    357358
    358359void WKSetCONNECTProxyForStream(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort);
Note: See TracChangeset for help on using the changeset viewer.