You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/12 18:51:10 UTC

[GitHub] [trafficserver] traeak commented on a change in pull request #7486: slice/server: handleFirstServerHeader exit sooner on detected requested range errors.

traeak commented on a change in pull request #7486:
URL: https://github.com/apache/trafficserver/pull/7486#discussion_r575453227



##########
File path: plugins/experimental/slice/Range.h
##########
@@ -29,7 +29,7 @@
 
 struct Range {
 public:
-  static int64_t constexpr maxval = (std::numeric_limits<int64_t>::max() >> 2);
+  static int64_t constexpr maxval = (std::numeric_limits<int64_t>::max() / 2);

Review comment:
       it just has to be sufficiently large but not max64.




----------------------------------------------------------------
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:
users@infra.apache.org