I'm not sure whether this is related. But, looking at this:
void HttpClientQtThread::run()
{
QNetworkAccessManager* manager = new QNetworkAccessManager();
QNetworkRequest request(url_);
for (auto const& hdr: headers_)
{
request.setRawHeader(QString::fromStdString(hdr.first).toUtf8(),
QString::fromStdString(hdr.second).toUtf8());
}
QNetworkReply* reply = manager->get(request);
reply->setReadBufferSize(0); // unlimited buffer
The reply is being used without checking that it was created
succesfully. Shouldn't there be a call to error here? Something like
if (reply->error() != QNetworkReply::NoError)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1409995
Title:
Queries to remote scopes time out
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1409995/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs