Skip to content

Commit

Permalink
Refrain from HTTP pipelining as it doesn't work smoothly with some se…
Browse files Browse the repository at this point in the history
…rvers
  • Loading branch information
datadiode committed Feb 2, 2023
1 parent 936d0f7 commit 50ecc15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network/networkaccessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
return reply;

QNetworkRequest req = request;
req.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true);
// Refrain from HTTP pipelining as it doesn't work smoothly with some servers
// req.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true);
if (!m_acceptLanguage.isEmpty())
req.setRawHeader("Accept-Language", m_acceptLanguage);

Expand Down

0 comments on commit 50ecc15

Please sign in to comment.