shinrich opened a new pull request #7766: URL: https://github.com/apache/trafficserver/pull/7766
This is an extended version of PR #7706. @zwoop started reviewing PR #7706 and reasonable asked, why do we have two different structures/enums tracking HTTP versions. This PR gets rid of the HostDBApplicationInfo::HTTPVersion that was used in HostDBInfo. It replaces it with HTTPVersion which is used everywhere else. Also adjust HTTPVersion to be smaller (2 uint8_t's) and stored as major and minor versions since that is how most cases were using the data. Added some constants for our current HTTP versions to get rid of inline constructors. Because of the elimination of the HostDBApplicationInfo::HTTPVersion, we don't have to do the conversion function that was in PR #7706. Instead we can just assign the version from one member to another. -- 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]
