Give the OK to the connection asap

This commit is contained in:
Luis Ángel San Martín 2019-08-24 11:07:36 +02:00
parent 0892d2a022
commit fafcfdd2dc

View File

@ -17,6 +17,8 @@ void SyncControllerV2::service(HttpRequest &request, HttpResponse &response)
QLOG_TRACE() << "POST DATA: " << postData;
if (postData.length() > 0) {
response.write("OK", true);
QList<QString> data = postData.split("\n");
qulonglong libraryId;
@ -70,6 +72,4 @@ void SyncControllerV2::service(HttpRequest &request, HttpResponse &response)
response.write("", true);
return;
}
response.write("OK", true);
}