Skip to content

Commit 02f2b3a

Browse files
Merge branch 'release/4.4.17'
2 parents 5458417 + 7e46a0b commit 02f2b3a

File tree

4 files changed

+25
-3
lines changed

4 files changed

+25
-3
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.17
89
release-notes/version-4.4.16
910
release-notes/version-4.4.15
1011
release-notes/version-4.4.14

docs/release-notes/version-4.4.17.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
==============
2+
Version 4.4.17
3+
==============
4+
5+
Version 4.4.17 of mod_wsgi can be obtained from:
6+
7+
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.4.17
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. If ``mod_wsgi-express`` was run under a user ID for which there was no
17+
password entry in the system password file, it would fail when looking up
18+
the user name. If this occurs now use ``#nnn`` as the default user name.

src/server/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def where():
5050
return MOD_WSGI_SO
5151

5252
def default_run_user():
53-
return pwd.getpwuid(os.getuid()).pw_name
53+
try:
54+
return pwd.getpwuid(os.getuid()).pw_name
55+
except KeyError:
56+
return '#%d' % os.getuid()
5457

5558
def default_run_group():
5659
try:

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 16
29-
#define MOD_WSGI_VERSION_STRING "4.4.16"
28+
#define MOD_WSGI_MICROVERSION_NUMBER 17
29+
#define MOD_WSGI_VERSION_STRING "4.4.17"
3030

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

0 commit comments

Comments
 (0)