Bug 58309 - Update PCRE bundled under ISAPI Redirector
Summary: Update PCRE bundled under ISAPI Redirector
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: isapi (show other bugs)
Version: 1.2.41
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2015-08-31 14:04 UTC by Rainer Jung
Modified: 2015-08-31 14:27 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Jung 2015-08-31 14:04:03 UTC
The PCRE lib bundled in the native/iis/pcre directory is a very old 5.0 fork, similar to what Apache httpd used for a long time.

It is not hard to update to 8.37, because we only need a few bits from the pcre API which were mostly stable. Our Windows build files can also be adjusted relatively simply to PCRE 8, because we only need the static PCRE lib. Although PCRE supports cmake build, it seems more adequate to not demand downstream to use cmake *just* to build the PCRE needed for the ISAPI redirector.

We might go further and switch to PCRE 10, but pushing for the latest 8 IMHO is already a nice improvement making it much easier to stay in sync with future PCRE 8 upstream releases.
Comment 1 Rainer Jung 2015-08-31 14:27:06 UTC
Committed in r1700254, will be part of version 1.2.42.

I did some build testing on Windows using the iis Makefile.* files and isapi.dsp with MSVC 2010 on Win 7. Needs more testing to check against last minute errors and also some functional runtime testing.