summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-07-20 13:02:50 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit11e5be050f6ba0cb908edd3c721d2f174081c74b (patch)
treeb66ffc4271ce648cf7324341449c916e58276419
parent9073d60f007ef1dbb131e816724482f57f39fcc6 (diff)
downloadserenity-11e5be050f6ba0cb908edd3c721d2f174081c74b.zip
Ladybird: Enable HTTP pipelining
-rw-r--r--Ladybird/RequestManagerQt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ladybird/RequestManagerQt.cpp b/Ladybird/RequestManagerQt.cpp
index 47370997dd..25af361ee6 100644
--- a/Ladybird/RequestManagerQt.cpp
+++ b/Ladybird/RequestManagerQt.cpp
@@ -39,6 +39,7 @@ ErrorOr<NonnullRefPtr<RequestManagerQt::Request>> RequestManagerQt::Request::cre
{
QNetworkRequest request { QString(url.to_string().characters()) };
request.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::ManualRedirectPolicy);
+ request.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true);
QNetworkReply* reply = nullptr;