/[Apache-SVN]
ViewVC logotype

Revision 1773454


Jump to revision: Previous Next
Author: wrowe
Date: Fri Dec 9 19:06:06 2016 UTC (7 years, 4 months ago)
Changed paths: 2
Log Message:
Replace PCRE with PCRE2 where it is available.

This patch removes the needless assignment of re_erroffset in the conf pool
by the worker threads; such mistakes break the shared copy-on-write pages of
memory that should have remained common between all httpd worker processes.

Two de-optimizations are inherent in this patch, the former ovector-on-stack
opportunity is lost unless implemented as a new general context. Safer that
we either create a new general context using pool allocation, or recycle a
per pool or per thread match_data buffer of some arbitrary 10 elts or so.

Submitted by: wrowe, Petr Pisar <ppisar@redhat.com>


Changed paths

Path Details
Directoryhttpd/httpd/trunk/configure.in modified , text changed
Directoryhttpd/httpd/trunk/server/util_pcre.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26