Skip to content

Commit b10161e

Browse files
committed
Merge branch '0.7-devel' of git://github.com/mikhailberis/cpp-netlib into 0.7-devel
2 parents 9e72227 + 66754fd commit b10161e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/network/test/http_incremental_parser.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ BOOST_AUTO_TEST_CASE(incremental_parser_parse_status_message) {
179179
std::cout << "PARSED: " << parsed << " state=" << p.state() << std::endl;
180180
}
181181

182+
/** This test specifices how one-line-per-header parsing happens incrementally.
183+
*/
182184
BOOST_AUTO_TEST_CASE(incremental_parser_parse_header_lines) {
183185
typedef response_parser<tags::default_string> response_parser_type;
184186
typedef response_parser_type::range_type range_type;
@@ -210,3 +212,4 @@ BOOST_AUTO_TEST_CASE(incremental_parser_parse_header_lines) {
210212
BOOST_CHECK_EQUAL(parsed_ok, true);
211213
BOOST_CHECK(parsed1 != parsed2);
212214
}
215+

0 commit comments

Comments
 (0)