hnakamur commented on code in PR #12167: URL: https://github.com/apache/trafficserver/pull/12167#discussion_r2044700513
########## include/proxy/hdrs/MIME.h: ########## @@ -1652,7 +1636,7 @@ MIMEHdr::value_append(const char *name, int name_length, const char *value, int inline time_t MIMEHdr::get_age() const { - int64_t age = value_get_int64(MIME_FIELD_AGE, MIME_LEN_AGE); + int64_t age = value_get_int64(std::string_view{MIME_FIELD_AGE, static_cast<std::string_view::size_type>(MIME_LEN_AGE)}); Review Comment: I've made the changes I said above at https://github.com/apache/trafficserver/compare/038258a62b5a3663ea1aa68e443866da02552419...hnakamur:trafficserver:take_string_view_in_mime_methods2 -- 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: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org