Handle bad_alloc in parser

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:28 -07:00
1 parent f2e8af23f4
commit dab5d3bc12
5 files changed
+41 -10

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ public:
check("beast.http", error::unexpected_body);
check("beast.http", error::need_buffer);
check("beast.http", error::buffer_overflow);
check("beast.http", error::bad_alloc);
check("beast.http", error::bad_line_ending);
check("beast.http", error::bad_method);