Cleanup of timeout handling: timeouts are no longer reset on partial reads and sends
This commit is contained in:
parent
d96ed6f02c
commit
84455ac966
3 changed files with 18 additions and 40 deletions
|
|
@ -50,7 +50,7 @@ namespace SimpleWeb {
|
|||
asio::ssl::context context;
|
||||
|
||||
std::shared_ptr<Connection> create_connection() noexcept override {
|
||||
return std::make_shared<Connection>(handler_runner, config.timeout, *io_service, context);
|
||||
return std::make_shared<Connection>(handler_runner, *io_service, context);
|
||||
}
|
||||
|
||||
void connect(const std::shared_ptr<Session> &session) override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue