summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2010-07-11 17:18:59 +0000
committerStefan Bühler <stbuehler@web.de>2010-07-11 17:18:59 +0000
commitf65467386f7d2b127eac42ac128e091be2d8e5e4 (patch)
tree270c283e23250dee6c4351b447fef367feb278a5
parentcece2fe3c6701505110dd5a1767032e9af19d44e (diff)
downloadlighttpd-git-f65467386f7d2b127eac42ac128e091be2d8e5e4.tar.gz
mod_status: Add version to status page (fixes #2219)
* the status page shouldn't be public anyway, so no reason to hide the version; but it makes debugging easier git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2744 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--NEWS1
-rw-r--r--src/mod_status.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 07530c3a..177249ea 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,7 @@ NEWS
* mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes #2215)
* mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217)
* mod_accesslog: Fix var declarations mixed in source (fixes #2233)
+ * mod_status: Add version to status page (fixes #2219)
- 1.4.26 - 2010-02-07
* Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)
diff --git a/src/mod_status.c b/src/mod_status.c
index df5bdb8e..6b677f79 100644
--- a/src/mod_status.c
+++ b/src/mod_status.c
@@ -299,7 +299,7 @@ static handler_t mod_status_handle_server_status_html(server *srv, connection *c
/* connection listing */
- buffer_append_string_len(b, CONST_STR_LEN("<h1>Server-Status</h1>"));
+ buffer_append_string_len(b, CONST_STR_LEN("<h1>Server-Status (" PACKAGE_NAME " " PACKAGE_VERSION ")</h1>"));
buffer_append_string_len(b, CONST_STR_LEN("<table summary=\"status\" class=\"status\">"));
buffer_append_string_len(b, CONST_STR_LEN("<tr><td>Hostname</td><td class=\"string\">"));