Store headers in bloom filter, respond to 100-continue

This commit is contained in:
Alex Hultman
2020-04-06 02:48:11 +02:00
parent 19db2093e5
commit c7ac8c7e56
4 changed files with 94 additions and 6 deletions
+6
View File
@@ -174,6 +174,12 @@ public:
/* Note: Headers are not checked in regards to timeout.
* We only check when you actively push data or end the request */
/* Write 100 Continue, can be done any amount of times */
HttpResponse *writeContinue() {
Super::write("HTTP/1.1 100 Continue\r\n\r\n", 25);
return this;
}
/* Write the HTTP status */
HttpResponse *writeStatus(std::string_view status) {
HttpResponseData<SSL> *httpResponseData = getHttpResponseData();