SolidWallOfCode commented on a change in pull request #7766:
URL: https://github.com/apache/trafficserver/pull/7766#discussion_r623436779
##########
File path: proxy/hdrs/HTTP.h
##########
@@ -758,7 +767,7 @@ HTTPVersion::operator>(const HTTPVersion &hv) const
inline int
HTTPVersion::operator<(const HTTPVersion &hv) const
{
- return (m_version < hv.m_version);
+ return vmajor < hv.get_major() || (vmajor == hv.get_major() && vminor <
hv.get_minor());
Review comment:
Wait - this is what I recommended on the previous method. Might be worth
it to not re-use, but ultimately I suspect it doesn't matter.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]