zwoop commented on code in PR #13107:
URL: https://github.com/apache/trafficserver/pull/13107#discussion_r3114178249
##########
plugins/compress/configuration.cc:
##########
@@ -359,9 +359,11 @@ Configuration::Parse(const char *path)
c->add_host_configuration(current_host_configuration);
} else if (token == "supported-algorithms") {
current_host_configuration->add_compression_algorithms(line_view);
+ line_view.clear();
state = ParserState::Start;
} else if (token == "compressible-status-code") {
current_host_configuration->add_compressible_status_codes(line_view);
+ line_view.clear();
state = ParserState::Start;
Review Comment:
Ok, changed it to consume the strings less aggressive.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]