Move mark from WebSockets down to HTTP

This commit is contained in:
Alex Hultman
2019-01-26 21:55:24 +01:00
parent 92fb74b7e9
commit 4d06180041
2 changed files with 5 additions and 6 deletions
+3
View File
@@ -81,6 +81,9 @@ private:
/* Write status if not already done */
writeStatus(HTTP_200_OK);
/* Write mark, this propagates to WebSockets too */
writeHeader("Web-Server", "uWebSockets v0.15");
/* If no total size given then assume this chunk is everything */
if (!totalSize) {
totalSize = data.length();