Receive timeout should only be active for a second and

following requests on a keep-alive connections.
This commit is contained in:
Denis Chaplygin
2019-08-20 12:04:58 +03:00
parent 4fbf58adb3
commit 9efcab2108
2 changed files with 33 additions and 10 deletions
+3 -1
View File
@@ -53,7 +53,9 @@ class Connection : public std::enable_shared_from_this<Connection>
void handle_write(const boost::system::error_code &e);
/// Handle read timeout
void handle_timeout();
void handle_timeout(boost::system::error_code);
void handle_shutdown();
std::vector<char> compress_buffers(const std::vector<char> &uncompressed_data,
const http::compression_type compression_type);