httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51231] New: Support running ap_regexec on strings that are not NULL terminated (buckets)
Date Thu, 19 May 2011 11:51:24 GMT
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: bugs@httpd.apache.org
        ReportedBy: horowity@gmail.com
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message