https://github.com/boostorg/beast/issues/452
| 1151 | |
| 1152 | // https://github.com/boostorg/beast/issues/452 |
| 1153 | void |
| 1154 | testIssue452() |
| 1155 | { |
| 1156 | error_code ec; |
| 1157 | test_parser<true> p; |
| 1158 | p.eager(true); |
| 1159 | string_view s = |
| 1160 | "GET / HTTP/1.1\r\n" |
| 1161 | "\r\n" |
| 1162 | "die!"; |
| 1163 | p.put(net::buffer( |
| 1164 | s.data(), s.size()), ec); |
| 1165 | if(! BEAST_EXPECTS(! ec, ec.message())) |
| 1166 | return; |
| 1167 | BEAST_EXPECT(p.is_done()); |
| 1168 | } |
| 1169 | |
| 1170 | // https://github.com/boostorg/beast/issues/496 |
| 1171 | void |