RESOLVED FIXED59838
Implement HTTP pipelining for CoreFoundation-based networking
https://bugs.webkit.org/show_bug.cgi?id=59838
Summary Implement HTTP pipelining for CoreFoundation-based networking
David Kilzer (:ddkilzer)
Reported 2011-04-29 15:30:04 PDT
Created attachment 91750 [details] Patch Reviewed by NOBODY (OOPS!). Source/WebCore: * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): Set the priority on the request if HTTP pipelining is enabled. (WebCore::ResourceRequest::doUpdateResourceRequest): Read the priority from the request if HTTP pipelining is enabled. (readBooleanPreference): Enable code when compiling with USE(CFNETWORK). (WebCore::initializeMaximumHTTPConnectionCountPerHost): Ditto. Source/WebKit/win: * Interfaces/IWebViewPrivate.idl: (IWebViewPrivate::httpPipeliningEnabled): Added declaration. (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration. * WebView.cpp: (WebView::httpPipeliningEnabled): Added. (WebView::setHTTPPipeliningEnabled): Added. * WebView.h: (WebView::httpPipeliningEnabled): Added declaration. (WebView::setHTTPPipeliningEnabled): Added declaration. WebKitLibraries: * win/include/WebKitSystemInterface/WebKitSystemInterface.h: (wkGetHTTPPipeliningPriority): Added declaration. (wkSetHTTPPipeliningMaximumPriority): Added declaration. (wkSetHTTPPipeliningPriority): Added declaration. --- 8 files changed, 90 insertions(+), 2 deletions(-)
Attachments
Patch (8.88 KB, patch)
2011-04-29 15:30 PDT, David Kilzer (:ddkilzer)
eric: review-
Patch v2 (9.02 KB, patch)
2011-05-03 11:29 PDT, David Kilzer (:ddkilzer)
koivisto: review+
David Kilzer (:ddkilzer)
Comment 1 2011-04-29 15:31:33 PDT
WebKit Review Bot
Comment 2 2011-04-29 15:31:47 PDT
Attachment 91750 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 WebKitLibraries/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Source/WebKit/win/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Source/WebKit/win/WebView.h:832: The parameter name "enabled" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 4 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 3 2011-04-29 20:33:11 PDT
Eric Seidel (no email)
Comment 4 2011-05-01 09:50:24 PDT
Comment on attachment 91750 [details] Patch This seems fine. You just need to update your ChangeLogs (and be sure toe update WebKitLibraires on windows before you land).
David Kilzer (:ddkilzer)
Comment 5 2011-05-02 12:55:38 PDT
(In reply to comment #4) > (From update of attachment 91750 [details]) > This seems fine. You just need to update your ChangeLogs (and be sure toe update WebKitLibraires on windows before you land). Actually, I need to make webkit-patch adopt my workflow. Bug 57242. Entering bug numbers in ChangeLogs is just busywork (which I'll do manually until I fix webkit-patch).
David Kilzer (:ddkilzer)
Comment 6 2011-05-03 09:36:18 PDT
David Kilzer (:ddkilzer)
Comment 7 2011-05-03 09:41:29 PDT
(In reply to comment #3) > Attachment 91750 [details] did not build on win: > Build output: http://queues.webkit.org/results/8529018 4>..\platform\network\cf\ResourceRequestCFNet.cpp(254) : error C3861: 'wkSetHTTPPipeliningMinimumFastLanePriority': identifier not found
David Kilzer (:ddkilzer)
Comment 8 2011-05-03 11:29:13 PDT
Created attachment 92093 [details] Patch v2 This should build now on the Windows buildbot.
WebKit Review Bot
Comment 9 2011-05-03 11:31:16 PDT
Attachment 92093 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebKit/win/WebView.h:837: The parameter name "enabled" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
David Kilzer (:ddkilzer)
Comment 10 2011-05-03 11:34:09 PDT
(In reply to comment #9) > Attachment 92093 [details] did not pass style-queue: > > Source/WebKit/win/WebView.h:837: The parameter name "enabled" adds no information, so it should be removed. [readability/parameter_name] [5] Fixed locally.
David Kilzer (:ddkilzer)
Comment 11 2011-05-03 16:25:57 PDT
Note You need to log in before you can comment on or make changes to this bug.