https://github.com/boostorg/beast/issues/496
| 1169 | |
| 1170 | // https://github.com/boostorg/beast/issues/496 |
| 1171 | void |
| 1172 | testIssue496() |
| 1173 | { |
| 1174 | // The bug affected hex parsing with leading zeroes |
| 1175 | using P = test_parser<false>; |
| 1176 | parsegrind<P>( |
| 1177 | "HTTP/1.1 200 OK\r\n" |
| 1178 | "Transfer-Encoding: chunked\r\n" |
| 1179 | "Content-Type: application/octet-stream\r\n" |
| 1180 | "\r\n" |
| 1181 | "0004\r\nabcd\r\n" |
| 1182 | "0\r\n\r\n" |
| 1183 | ,[&](P const& p) |
| 1184 | { |
| 1185 | BEAST_EXPECT(p.body == "abcd"); |
| 1186 | }); |
| 1187 | } |
| 1188 | |
| 1189 | // https://github.com/boostorg/beast/issues/692 |
| 1190 | void |
nothing calls this directly
no outgoing calls
no test coverage detected