mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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;
|
QLOG_TRACE() << "POST DATA: " << postData;
|
||||||
|
|
||||||
if (postData.length() > 0) {
|
if (postData.length() > 0) {
|
||||||
|
response.write("OK", true);
|
||||||
|
|
||||||
QList<QString> data = postData.split("\n");
|
QList<QString> data = postData.split("\n");
|
||||||
|
|
||||||
qulonglong libraryId;
|
qulonglong libraryId;
|
||||||
@ -70,6 +72,4 @@ void SyncControllerV2::service(HttpRequest &request, HttpResponse &response)
|
|||||||
response.write("", true);
|
response.write("", true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
response.write("OK", true);
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user