WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
89002
[Qt] Enable HTTP pipelining
https://bugs.webkit.org/show_bug.cgi?id=89002
Summary
[Qt] Enable HTTP pipelining
Laszlo Gombos
Reported
2012-06-13 08:17:44 PDT
Set QNetworkRequest::HttpPipeliningAllowedAttribute for network requests if HTTP pipelining is enabled - see WebContext::setHTTPPipeliningEnabled(). Considered turning on HTTP pipelining by default - after some interoperability testing.
Attachments
Add attachment
proposed patch, testcase, etc.
Keith Kyzivat
Comment 1
2012-06-13 14:33:05 PDT
There is good reason not to just turn on HTTP Pipelining by default. This has been discussed in the past - see
bug 64169
. There can be long-lived connections that can hold-up other connections. For example http long polling, where a connection to a server remains open, without any response being sent by the server until there is an event to deliver, allowing for server->client asynchronous communication [1]. HTTP 1.1 mandates that responses need to be done in the same order as the requests[2], thus the requests that come after the http long polling connection are held up until the server decides to respond, which could be as long as 300 seconds[3], but probably more likely to be somewhere between 30 and 120 seconds to avoid timeouts by proxies. Now, servers that do HTTP long-polling are stretching the definition of HTTP, and are definitely not following the spirit of the standard, so we could take the stance that we don't care about that kind of content, and allow it to be broken, but it will make other sites suffer. Markus Goetz mentions in
https://bugs.webkit.org/show_bug.cgi?id=64169#c8
that this could be enabled if we can turn it off for requests emanating from javascript... 1 -
http://tools.ietf.org/html/draft-loreto-http-bidirectional-07
synpsis 2 -
http://en.wikipedia.org/wiki/HTTP_pipelining
3 -
http://tools.ietf.org/html/draft-loreto-http-bidirectional-07#section-5.5
Laszlo Gombos
Comment 2
2012-06-13 15:11:54 PDT
According to
http://www.guypo.com/mobile/ios5-top10-performance-changes/
iOS5, Android and Opera Mobile/Mini all have HTTP pipelining enabled. However it indeed make sense to have this configurable via and experiential API (rather than just turning it on by default all the time). Realated Mozilla discussion here -
https://bugzilla.mozilla.org/show_bug.cgi?id=264354
Jocelyn Turcotte
Comment 3
2014-02-03 03:21:14 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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