You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/05/19 13:51:24 UTC
DO NOT REPLY [Bug 51231] New: Support running ap_regexec on strings
that are not NULL terminated (buckets)
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
--- Comment #2 from horowity@checkpoint.com <ho...@gmail.com> 2011-05-19 12:10:57 UTC ---
Created attachment 27036
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27036
Fix compilation error of prev fix
Sorry for the compilation error.
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
horowity@checkpoint.com <ho...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |51258
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> 2011-05-21 20:34:12 UTC ---
Commited to trunk with minor tweaks as r1125802
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
horowity@checkpoint.com <ho...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
horowity@checkpoint.com <ho...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
CC| |horowity@gmail.com
Resolution|FIXED |
Ever Confirmed|1 |0
--
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
DO NOT REPLY [Bug 51231] Support running ap_regexec on strings that
are not NULL terminated (buckets)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51231
--- Comment #1 from horowity@checkpoint.com <ho...@gmail.com> 2011-05-19 11:59:08 UTC ---
Created attachment 27035
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27035
Add API to run ap_regexec on strings that are not NULL terminated.
--
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