-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate HTTP Pipelining #4454
Comments
I implemented pipelining in QNAM back in the days. I don't know how well it works these days given our experiences with recent Qt bugs (and given that it is disabled by default it has less testing). Pipelining is an attribute of the web server, not of the oC/PHP. Web browsers disable it because of possible problems with "middle boxes" but hopefully our customers all use good software/hardware there. Maybe we should only enable it for HTTPS. As long as oC has unexpected performance characteristics, we cannot enable pipelining in general because we don't know if there is an actual timeout or not because we don't know how long requests take. We might however want to enable it for downloading (GET) of small files. |
QNAM only supports pipelining for https://code.woboq.org/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp.html#726 IMHO If we should try to enable this but need to be super careful for things not to break. |
@guruz how about PUT? |
@dragotin Would need a QNAM patch. The QNAM implementation was done back in the days in a very conservative way with focus on usage in a mobile phone web browser. |
Another caveat: QNAM does not do Pipelining when So maybe we'd need a switch based on the server version which has the cookie-only auth fixed. Also QNAM might still blindly send the |
This does not work yet, it still did not pipeline. Need to analyze https://code.woboq.org/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp.html#_ZN29QHttpNetworkConnectionPrivate12fillPipelineEP15QAbstractSocket more For #4454
Moving this out of 2.2 |
-> #4529 |
Please don't close this.
|
@Marginal HTTP/1.1 pipelining has a number of issues and will probably never happen. However, we are investigating HTTP 2.0 support which has implicit pipelining. |
Btw: ownCube had once stated that they would no longer block the official client. Other providers and customers can deal with this without problems. |
@danimo |
@Marginal But they now did enable it, did they not? |
@danimo Yes for my virtual host. Not in general I think. |
We probably won't do this and wait for #3146 instead |
https://lwn.net/Articles/725293/
|
Please investigate
QNetworkRequest::HttpPipeliningAllowedAttribute
says that pipelining is disabled by default, but we do not set this to true.The text was updated successfully, but these errors were encountered: