mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Give the OK to the connection asap
This commit is contained in:
parent
0892d2a022
commit
fafcfdd2dc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user