Added SimpleWeb::error, and simplified request size checks on server
This commit is contained in:
parent
1a56f4810e
commit
31e6819b42
6 changed files with 39 additions and 38 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue