aboutsummaryrefslogtreecommitdiffstats
path: root/http_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'http_connection.h')
-rw-r--r--http_connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/http_connection.h b/http_connection.h
index c25c61d..7fd9a43 100644
--- a/http_connection.h
+++ b/http_connection.h
@@ -27,8 +27,8 @@ namespace flask
void handle()
{
- // request = make_request_from_parser
- res = handler_->handle();
+ request req = parser_.to_request();
+ res = handler_->handle(req);
static std::string seperator = ": ";
static std::string crlf = "\r\n";