Hello,
I added a patch for mod_gsoap which implements the init-phase new and supports the following features. it is written in C++ for apache-2.0.x and tested on a Linux-System. see also inline-documentation in mod_gsoap_init.cpp
1. Loading the 'SOAPLibrary' at server-startup, because the loading per worker-process is not effective and can produce runtime-errors if the library cannot be loaded.
2. I removed the Config-Parameter 'SupportLibrary', because it is possible to link the 'SOAPLibrary' against the libraries needed at build-time.
3. I added the optional Config-Parameter 'SOAPLibraryInitString' and an optional Library-Hook:
int initSoapLibrary(const char* initString);
If the Hook is present in the 'SOAPLibrary', it is called at init-phase with the 'SOAPLibraryInitString'. So initializing of the 'SOAPLibrary' with any config-parameters is possible.
4. I removed the config-merger-functions, because the default-config-merge of apache does everything which is needed.
Best regards,
Marcus Neukert
--
Marcus Neukert
Softwareentwickler - New Technology
Tel. +49-721-91374-3943 · Fax +49-721-91374-2740
marcus.neukert@webde.de · http://www.web.de/
1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe
Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren