Handle socket closing, shutdown, error & (upgrade) in HTTP handlers

This commit is contained in:
Alex Hultman
2018-10-17 22:23:25 +02:00
parent 8105c65fa6
commit 8cfda9f4b0
4 changed files with 127 additions and 51 deletions
+2
View File
@@ -103,6 +103,8 @@ public:
Super::write(data.data(), data.length());
}
// todo: calling end should start a timeout of the socket!
}
/* Write parts of the response in chunking fashion */