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
|
|
@ -7,6 +7,7 @@
|
|||
#include <asio.hpp>
|
||||
#include <asio/steady_timer.hpp>
|
||||
namespace SimpleWeb {
|
||||
namespace error = asio::error;
|
||||
using error_code = std::error_code;
|
||||
using errc = std::errc;
|
||||
using system_error = std::system_error;
|
||||
|
|
@ -17,6 +18,7 @@ namespace SimpleWeb {
|
|||
#include <boost/asio/steady_timer.hpp>
|
||||
namespace SimpleWeb {
|
||||
namespace asio = boost::asio;
|
||||
namespace error = asio::error;
|
||||
using error_code = boost::system::error_code;
|
||||
namespace errc = boost::system::errc;
|
||||
using system_error = boost::system::system_error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue