diff options
Diffstat (limited to 'http.cpp')
-rw-r--r-- | http.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -63,6 +63,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)); res_ = sp; |