Fix handling of body_what::pause in basic_parser_v1

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:13 -07:00
parent 6832bd57d3
commit 4ded6cff76
4 changed files with 27 additions and 5 deletions
+4 -1
View File
@@ -422,7 +422,10 @@ public:
bool
complete() const
{
return s_ == s_restart || s_ == s_closed_complete;
return
s_ == s_restart ||
s_ == s_closed_complete ||
s_ == s_body_pause;
}
/** Write a sequence of buffers to the parser.