Handle bad_alloc in parser

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:28 -07:00
parent f2e8af23f4
commit dab5d3bc12
5 changed files with 41 additions and 10 deletions
+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);