File: version-1.1.rst

package info (click to toggle)
mod-wsgi 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,824 kB
  • sloc: ansic: 15,512; python: 3,697; makefile: 219; sh: 107
file content (60 lines) | stat: -rw-r--r-- 2,505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
===========
Version 1.1
===========

Version 1.1 of mod_wsgi can be obtained from:

  http://modwsgi.googlecode.com/files/mod_wsgi-1.1.tar.gz

Bug Fixes
---------

1. Fix bug which could result in processes crashing when multiple threads
attempt to write to sys.stderr or sys.stdout at the same time. See:

  https://code.google.com/archive/p/modwsgi/issues/30

Chance of this occuring was small, as was contingent on code writing out
strings which contained an embedded newline but no terminating new line,
thereby triggering the internal line caching code.

2. In error case when not able to release interpreter, was wrongly trying
to release Python GIL around code to unlock module mutex when didn't
actually have the GIL acquired in the first place. Didn't strictly need to
be releasing GIL when releasing lock as it shouldn't block anyway, so don't
do this even in case where had the Python GIL.

This problem would only have been encountered in situation where Python had
failed in a major way to begin with.

3. Incorrectly trying to output Python exception details when Python GIL
would not have been held.

This problem would only have been encountered in situation where Python had
failed in a major way to begin with.

4. Fix location of Python object reference count decrements to avoid
decrement reference count on null pointer.

Would only have caused a problem if Python was in some sort of corrupted
state to begin with as the object which the reference count was being
performed on should always exist.

5. Replace normal Apache connection setup in daemon processes with
equivalent code that avoids possibility that other Apache modules will
insert their own connection level input/output filters. This is needed as
running WSGI applications in daemon processes where requests were arriving
to Apache as HTTPS requests could cause daemon processes to crash. See:

  https://code.google.com/archive/p/modwsgi/issues/33

This was only occuring for some HTTPS configurations, but not known what
exactly was different about those configurations to cause the problem.
Actually possible that the real problem was mod_logio as described below.

6. Substitute optional ap_logio_add_bytes_out() function provided by the
mod_logio module when loaded and when handling request in daemon process.
This is needed to prevent core output filters calling this function and
triggering a crash due to configuration for mod_logio not being setup. See:

  https://code.google.com/archive/p/modwsgi/issues/34