Github user jpeach commented on a diff in the pull request:
https://github.com/apache/trafficserver/pull/1078#discussion_r81870634
--- Diff: proxy/hdrs/HdrTest.cc ---
@@ -522,6 +524,16 @@ HdrTest::test_mime()
return (failures_to_status("test_mime", 1));
}
+ // Test the (new) continuation line folding to be correct. This should
replace the
+ // \r\n with two spaces (so a total of three between "part1" and
"part2").
+ int length;
+ const char *continuation = hdr.value_get("continuation", 12, &length);
+
+ if ((13 != length) || strncmp(continuation, "part1 part2", 13) ||
strncmp(continuation + 5, " ", 3)) {
--- End diff --
This will be easier to debug if you separate each condition into a separate
failure.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---