bryancall opened a new pull request, #12974:
URL: https://github.com/apache/trafficserver/pull/12974

   ## Summary
   
   Fix copy-paste bug in the `cache_fill` plugin where `>` (greater-than) 
Content-Length rules were incorrectly parsed as `LESS_THAN_OR_EQUAL` instead of 
`GREATER_THAN_OR_EQUAL`.
   
   This meant a config line like `exclude Content-Length >5000` would behave 
identically to `exclude Content-Length <5000`, silently applying the wrong 
comparison.
   
   Coverity CID 1533658.
   
   ## Change
   
   One-line fix in `configs.cc` line 164:
   
   ```diff
   -            op = BgFetchRule::size_cmp_type::LESS_THAN_OR_EQUAL;
   +            op = BgFetchRule::size_cmp_type::GREATER_THAN_OR_EQUAL;
   ```


-- 
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]

Reply via email to