| 1577 | } |
| 1578 | |
| 1579 | void |
| 1580 | testUnlimitedBody() |
| 1581 | { |
| 1582 | const char data[] = |
| 1583 | "POST / HTTP/1.1\r\n" |
| 1584 | "Content-Length: 5\r\n" |
| 1585 | "\r\n" |
| 1586 | "*****"; |
| 1587 | |
| 1588 | test::fail_count fc(1000); |
| 1589 | test_parser<true> p(fc); |
| 1590 | p.body_limit(none); |
| 1591 | error_code ec; |
| 1592 | p.put(net::buffer(data, strlen(data)), ec); |
| 1593 | BEAST_EXPECTS(!ec, ec.message()); |
| 1594 | } |
| 1595 | |
| 1596 | void |
| 1597 | testIssue2201() |
nothing calls this directly
no test coverage detected