Skip to content

Commit ad3f5ed

Browse files
Merge branch 'release/4.5.1'
2 parents 85964f0 + 317a3f2 commit ad3f5ed

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-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.5.1
89
release-notes/version-4.5.0
910

1011
release-notes/version-4.4.23
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
=============
2+
Version 4.5.1
3+
=============
4+
5+
Version 4.5.1 of mod_wsgi can be obtained from:
6+
7+
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.1
8+
9+
Bugs Fixed
10+
----------
11+
12+
1. The CPU user and system time for requests wasn't always being output
13+
in request finished event data.

src/server/mod_wsgi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,7 @@ static int Adapter_run(AdapterObject *self, PyObject *object)
32253225
if (application_time < 0.0)
32263226
application_time = 0.0;
32273227

3228-
if (end_usage.user_time != 0.0) {
3228+
if (start_usage.user_time != 0.0) {
32293229
if (wsgi_thread_cpu_usage(&end_usage)) {
32303230
double user_seconds;
32313231
double system_seconds;

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 5
28-
#define MOD_WSGI_MICROVERSION_NUMBER 0
29-
#define MOD_WSGI_VERSION_STRING "4.5.0"
28+
#define MOD_WSGI_MICROVERSION_NUMBER 1
29+
#define MOD_WSGI_VERSION_STRING "4.5.1"
3030

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

0 commit comments

Comments
 (0)