Added SimpleWeb::error, and simplified request size checks on server

This commit is contained in:
eidheim 2019-06-23 20:18:28 +02:00
commit 31e6819b42
6 changed files with 39 additions and 38 deletions

View file

@ -53,7 +53,7 @@ namespace SimpleWeb {
if(!lock)
return;
if(ec != asio::error::operation_aborted)
if(ec != error::operation_aborted)
this->accept();
auto session = std::make_shared<Session>(config.max_request_streambuf_size, connection);