-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
313 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
====================== | ||
WSGIDestroyInterpreter | ||
====================== | ||
|
||
:Description: Enable/disable cleanup of Python interpreter. | ||
:Syntax: ``WSGIDestroyInterpreter On|Off`` | ||
:Default: ``WSGIDestroyInterpreter On`` | ||
:Context: server config | ||
|
||
The ``WSGIDestroyInterpreter`` directive is used to control whether the Python | ||
interpreter is destroyed when processes are shutdown or restarted. By default | ||
the Python interpreter is destroyed when the process is shutdown or restarted. | ||
|
||
This directive was added due to changes in Python 3.9 where the Python cleanup | ||
behaviour was changed such that it would wait on daemon threads to complete. | ||
This could cause cleanup of the Python interpreter to hang in the some cases | ||
where threads were created external to Python, as is the case where Python is | ||
embedded in a C program such as mod_wsgi with Apache. | ||
|
||
This problem of hanging when cleanup of the Python interpreter was attempted | ||
was especially noticeable when using mod_wsgi to host Trac. | ||
|
||
Note that it is not known whether versions of Python newer than 3.9 still have | ||
this problem or whether further changes were made in Python interpreter cleanup | ||
code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
================= | ||
WSGIErrorOverride | ||
================= | ||
|
||
:Description: Enable/disable use of Apache error documents. | ||
:Syntax: ``WSGIErrorOverride On|Off`` | ||
:Default: ``WSGIErrorOverride Off`` | ||
:Context: server config, virtual host, directory, .htaccess | ||
|
||
The ``WSGIErrorOverride`` directive when set to ``On``, and the WSGI application | ||
is running in daemon mode, will result in Apache error documents being used | ||
rather than those passed back by the WSGI application. This allows error | ||
documents to match any web site that the WSGI application may be integrated as a | ||
part of. This feature is akin to the ``ProxyErrorOverride`` directive of Apache | ||
but for mod_wsgi only. | ||
|
||
Note that this directive has no effect when the WSGI application is running in | ||
embedded mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
================ | ||
WSGIMapHEADToGET | ||
================ | ||
|
||
:Description: Enable/disable mapping of HEAD request to GET. | ||
:Syntax: ``WSGIMapHEADToGET On|Off|Auto`` | ||
:Default: ``WSGIMapHEADToGET Auto`` | ||
:Context: server config, virtual host, directory, .htaccess | ||
|
||
The ``WSGIMapHEADToGET`` directive controls the behaviour of automatically | ||
mapping any ``HEAD`` request to a ``GET`` request when an Apache output filter | ||
is registered that may want to see the complete response in order to generate | ||
correct response headers. | ||
|
||
The directive can be set to be either ``Auto`` (the default), ``On`` which | ||
will always map a ``HEAD`` to ``GET`` even if no output filters detected and | ||
``Off`` to always preserve the original request method type. | ||
|
||
The directive may be required where a WSGI application tries to optimize and | ||
avoid doing work for a ``HEAD`` request by not actually generating a response | ||
so that complete response headers can still be generated. By doing this the | ||
WSGI application can break Apache filters for caching, so the mapping of | ||
``HEAD`` to ``GET`` can be required to avoid problems. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
============= | ||
Version 5.0.1 | ||
============= | ||
|
||
Version 5.0.1 of mod_wsgi can be obtained from: | ||
|
||
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/5.0.1 | ||
|
||
Features Changed | ||
---------------- | ||
|
||
* Internally, when using Python 3.8 or newer, the PyConfig API will now be used | ||
due to deprecation and future removal of older C API alternatives. This was | ||
required to support Python 3.13. | ||
|
||
Bugs Fixed | ||
---------- | ||
|
||
* Fix issue which could result in process crashing when values were supplied | ||
for user/password/realm of HTTP basic authentication which weren't compliant | ||
with UTF-8 encoding format. | ||
|
||
* Fix memory leak in `check_password()` authentication hook handler. | ||
|
||
* Change use of deprecated `thread.setDaemon` to `thread.daemon`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools>=40.8.0", "wheel", "mod_wsgi-httpd==2.4.54.1"] | ||
requires = ["setuptools>=40.8.0", "wheel", "mod_wsgi-httpd==2.4.62.1"] | ||
build-backend = "setuptools.build_meta:__legacy__" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.