summaryrefslogtreecommitdiffhomepage
path: root/http.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-10 14:22:47 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-10 14:22:47 +0100
commitd02a29f0ff33279268e675aae0856f3f8cf9d939 (patch)
treebbb22aeb9c14488ef0871b34f0400259658d46f0 /http.cpp
parent1191f07767583a9b19280a4f29cb1b0bd6799785 (diff)
Configurable Websocket für HTTPS
Diffstat (limited to 'http.cpp')
-rw-r--r--http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.cpp b/http.cpp
index 0a9c680..4738ad8 100644
--- a/http.cpp
+++ b/http.cpp
@@ -51,7 +51,7 @@ class session : public std::enable_shared_from_this<session>
void handle_request(::Server& server, request_type&& req)
{
stream_.expires_after(std::chrono::seconds(300)); // timeout on write by server much longer than read timeout from client
- auto sp = std::make_shared<response_type>(generate_response(req, server));
+ auto sp = std::make_shared<response_type>(response::generate_response(req, server));
res_ = sp;