Skip to content

Commit 736b0cb

Browse files
Merge branch 'release/4.4.20'
2 parents e716679 + b8aa91d commit 736b0cb

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

docs/release-notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Release Notes
55
.. toctree::
66
:maxdepth: 2
77

8+
release-notes/version-4.4.20
89
release-notes/version-4.4.19
910
release-notes/version-4.4.18
1011
release-notes/version-4.4.17

docs/release-notes/version-4.4.20.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
==============
2+
Version 4.4.20
3+
==============
4+
5+
Version 4.4.20 of mod_wsgi can be obtained from:
6+
7+
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.4.20
8+
9+
For details on the availability of Windows binaries see:
10+
11+
https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32
12+
13+
Bugs Fixed
14+
----------
15+
16+
1. Post mortem debugger would fail if the exception was raised during
17+
yielding of items from a WSGI application, or inside of any ``close()``
18+
callable of an iterator returned from the WSGI application.

src/server/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,15 +1117,15 @@ def __iter__(self):
11171117
for item in self.generator:
11181118
yield item
11191119
except Exception:
1120-
self.debug_exception()
1120+
self.run_post_mortem()
11211121
raise
11221122

11231123
def close(self):
11241124
try:
11251125
if hasattr(self.generator, 'close'):
11261126
return self.generator.close()
11271127
except Exception:
1128-
self.debug_exception()
1128+
self.run_post_mortem()
11291129
raise
11301130

11311131
class RequestRecorder(object):

src/server/wsgi_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
#define MOD_WSGI_MAJORVERSION_NUMBER 4
2727
#define MOD_WSGI_MINORVERSION_NUMBER 4
28-
#define MOD_WSGI_MICROVERSION_NUMBER 19
29-
#define MOD_WSGI_VERSION_STRING "4.4.19"
28+
#define MOD_WSGI_MICROVERSION_NUMBER 20
29+
#define MOD_WSGI_VERSION_STRING "4.4.20"
3030

3131
/* ------------------------------------------------------------------------- */
3232

0 commit comments

Comments
 (0)