A. Changes from Version (3.2.8)
New Features
- (MODPYTHON-78)
Added support for Apache 2.2.
- (MODPYTHON-94)
New
req.is_https()
and req.ssl_var_lookup()
methods.
These communicate direct with the Apache mod_ssl module, allowing
it to be determined if the connection is using SSL/TLS and what the
values of internal ssl variables are.
- (MODPYTHON-137)
New
req.server.get_options()
method. This returns the subset
of Python options set at global scope within the Apache configuration.
That is, outside of the context of any VirtualHost, Location, Directory
or Files directives.
- (MODPYTHON-131)
The directory used for mutex locks can now be specified at
at compile time using
./configure --with-mutex-dir value
or at run time with PythonOption mod_python.mutex_directory value
.
- (MODPYTHON-145)
The number of mutex locks can now be specified at run time with
PythonOption mod_python.mutex_locks value
.
- (MODPYTHON-172)
Fixed three memory leaks that were found in _apachemodule.parse_qsl, req.readlines
and util.cfgtree_walk.
Improvements
- (MODPYTHON-77)
Third party C modules that use the simplified API for the Global
Interpreter Lock (GIL), as described in PEP 311, can now be used. The
only requirement is that such modules can only be used in the context
of the "main_interpreter".
- (MODPYTHON-119)
DbmSession unit test no longer uses the default directory for the dbm file,
so the test will not interfer with the user's current apache instance.
- (MODPYTHON-158)
Added additional debugging and logging output for where mod_python
cannot initialise itself properly due to Python or mod_python version
mismatches or missing Python module code files.
Bug Fixes
- (MODPYTHON-122)
Fixed configure problem when using bash 3.1.x.
- (MODPYTHON-173)
Fixed DbmSession to create db file with mode 0640.
- (MODPYTHON-84)
Fixed request.sendfile() bug for symlinked files on Win32.