On 25/06/2026 10:35, Rainer Jung wrote:
Am 25.06.26 um 10:55 schrieb Mark Thomas:
All excellent news. Thank you.
One small thought. Commons Daemon has switched to using the static
hybrid CRT approach by default. Do we want to switch Native and mod_jk
to a similar approach?
Yeah, I was thinking that way too. Makes sense, just need to check, that
we still allow to disable it (easy). Will look at commons daemon too.
I added an option for that on Commons Daemon. There is probably a better
way but it seems to work.
Mark
On 25/06/2026 09:25, Rainer Jung wrote:
First: sorry for the flood of commits, I hope it gets quieter now.
Current status:
- pcre2 added as the new regexp default library to the isapi redirector
- pcre still available as a fallback option by adding "PCRE=pcre" to
the nmake commandline. Plan is to document pcre as getting removed
after the next release.
- pcre2 addition is "clean" in the sense, that it adds all pcre2
files as-is plus a relative simple nmake makefile plus a config.h
that should be stable and describes which build options for pcre2 are
chosen. Still releasing Tomcat connectors also means checking pcre2
for updates. Maybe something to add to the release script.
- nmake makefiles for pcre, pcre2, isapi redirector and mod_jk for
Windows mostly harmonized. All of them use a common included nmake
makefile for basic settings. All of them should also be close to what
tomcat-native uses.
- target Windows version is now WIN10, which does not only mean
Windows 10, but also 11 and Windows Server 2016 and above. Windows 7,
8 and 8.1 builds should still be possible for people who need it, but
10 is the default.
- default CPU architecture taken from build system. We might
reconsider providing X86 builds by the project. I think they are
mostly obsolete now.
- tested with Visual Studio 2026, should also still work with Visual
Studio 2022. My previous comment about VS 2026 no longer being able
to compile for WIN7 was wrong. Instead VS 2026 latest patch level is
no longer compatible with my build platform Windows Server 2016. One
need to use the optional build tools version 14.50 instead of the
default version 14.51... No problem on more modern build systems.
- isapi and mod_jk on Windows builds now support Hybrid CRT using the
same STATIC_CRT=Hybrid flag for nmake. Using that, there is no
versioned msvcrt dependency in the generated DLL / SO. So Mladen's
CSMC is no longer needed or used.
- I added github actions (much of it copied or greatly inspired from
the tomcat-native ones) for:
- building mod_jk on Linux (CodeQL)
- building mod_jk on Windows using ApacheLounge httpd to build
against
- building isapi redirector, 4 variants
- WIN10, pcre2
- WIN10, pcre
- WIN7, pcre2
- WIN7, pcre
The resulting modules/plugins from the build actions are not tested.
I am thinking about adding that, but it would also mean addition and
simple configuration of a downloaded Tomcat to test AJP against.
Best regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]