forked from boostorg/beast
Handle bad_alloc in parser
This commit is contained in:
1 parent
f2e8af23f4
commit
dab5d3bc12
5 files changed
+41
-10
No files matched your search
@@ -44,6 +44,7 @@ public:
|
||||
case error::unexpected_body: return "unexpected body";
|
||||
case error::need_buffer: return "need buffer";
|
||||
case error::buffer_overflow: return "buffer overflow";
|
||||
case error::bad_alloc: return "bad alloc";
|
||||
case error::bad_line_ending: return "bad line ending";
|
||||
case error::bad_method: return "bad method";
|
||||
case error::bad_path: return "bad path";
|
||||
|
||||
Reference in new issue
Block a user