Add core errors and conditions

This commit is contained in:
Vinnie Falco committed 2018-12-30 12:51:34 -08:00
1 parent 25f144f936
commit 2d3912751b
7 files changed
+246 -1

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ void fxx() {
error_code ec;
request<string_body> req;
read(sock, buffer, req, ec);
if(ec == error::buffer_overflow)
if(ec == http::error::buffer_overflow)
std::cerr << "Buffer limit exceeded!" << std::endl;
//]