Created attachment 1313042 [details] patch Description of problem: When url_regex acl is very large, optimization procedure loses some regular expressions. Version-Release number of selected component (if applicable): squid-4.0.17-1.fc25.x86_64 How reproducible: repeatable Steps to Reproduce: 1. create a large file with many REs 2. add acl z url_regex "large-file.rx" 3. check if all REs are included (the debug can be checked for the count of REs included). Actual results: some REs missed 2017/08/14 11:39:39.491 kid1| 28,2| RegexData.cc(196) compileOptimisedREs: 1129 REs are optimised into one RE. Expected results: all REs included 2017/08/14 13:20:42.199 kid1| 28,2| RegexData.cc(193) compileOptimisedREs: 1411 REs are optimised into one RE. Additional info: This bug seems to be fixed in the upstream. BTW, the RXs are optimized into 353 REs in my case, not to one, but it's only a misleading debug message.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
the same bug also exists in FC26.
upstream has the fix as d80dab0b93cf57463c7690a75ac0e4ecb80d9488, but they have refactored the code first in d80c844681549b513c63b723041d453481821041
Thank you for your report, I will look at it and fix it next week. :)
squid-4.0.21-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0f2e4b51f3
squid-4.0.21-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0f2e4b51f3
squid-4.0.23-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4fabf63492
squid-4.0.23-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4f8a78a5ef
squid-4.0.23-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4f8a78a5ef
squid-4.0.23-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4fabf63492
squid-4.0.23-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.