Even zero is a valid content-length

This commit is contained in:
Alex Hultman
2019-02-04 00:39:45 +01:00
parent 5528e6f5fe
commit 0709ec05a6
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ public:
}
/* This will add our mark */
res->end();
res->upgrade();
/* Move any backpressure */
std::string backpressure(std::move(((AsyncSocketData<SSL> *) res->getHttpResponseData())->buffer));