https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
Bug #: 51231
Summary: Support running ap_regexec on strings that are not
NULL terminated (buckets)
Product: Apache httpd-2
Version: 2.2.17
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
When working in filter context, you cannot run regular expression on bucket
content (so I have the buffer length).
Currently you had to copy the bucket content and add the NULL at the end before
passing it to ap_regexec (this is a waste of CPU and memory).
The underling PCRE engine support getting the length of the input string
(actually ap_regexec just run strlen on the string and pass the result to
pcre_exec)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]