File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,9 +109,15 @@ SEASTAR_TEST_CASE(test_trailer_headers_parsing) {
109109 http_chunk_trailer_parser parser;
110110 size_t idx = 0 ;
111111 for (auto & tset : tests) {
112- BOOST_TEST_INFO (" trailer test idx=" << idx << " msg=" << tset.msg );
112+ std::cerr << " TRAILER-DEBUG idx=" << idx << " parsable=" << tset.parsable
113+ << " msg-bytes=" ;
114+ for (char c : tset.msg ) {
115+ std::cerr << std::hex << (unsigned )(unsigned char )c << ' ,' ;
116+ }
117+ std::cerr << std::dec << std::endl;
113118 parser.init ();
114119 BOOST_REQUIRE (parser (tset.buf ()).get ().has_value ());
120+ std::cerr << " TRAILER-DEBUG idx=" << idx << " result: failed=" << parser.failed () << std::endl;
115121 BOOST_REQUIRE_NE (parser.failed (), tset.parsable );
116122 if (tset.parsable ) {
117123 auto heads = parser.get_parsed_headers ();
You can’t perform that action at this time.
0 commit comments