From: Jim Jagielski
-%m
The request method.
+%{VARNAME}n
+
+ %M
The time taken to serve the request, in milliseconds.
-%{VARNAME}n
The contents of note VARNAME from another
module.
+%{VARNAME}o
-%{VARNAME}o
The contents of VARNAME:
header line(s)
in the reply.
+%p
-%p
The canonical port of the server serving the request.
+%{format}p
-%{format}p
The canonical port of the server serving the request, or the
server's actual port, or the client's actual port. Valid formats
are canonical
, local
, or remote
.
+%P
-%P
The process ID of the child that serviced the request.
+%{format}P
-%{format}P
The process ID or thread ID of the child that serviced the
request. Valid formats are pid
, tid
,
and hextid
. hextid
requires APR 1.2.0 or
higher.
+%q
-%q
The query string (prepended with a ?
if a query
string exists, otherwise an empty string).
+%r
-%r
First line of request.
+%R
-%R
The handler generating the response (if any).
+%s
-%s
Status. For requests that have been internally redirected, this is
the status of the original request. Use %>s
for the final status.
+%t
-%t
Time the request was received, in the format [18/Sep/2011:19:18:28 -0400]
.
The last number indicates the timezone offset from GMT
+%{format}t
-%{format}t
The time, in the form given by format, which should be in
an extended strftime(3)
format (potentially localized).
If the format starts with begin:
(default) the time is taken
@@ -198,19 +200,19 @@
formatting in the same format string. You can use multiple
%{format}t
tokens instead.
+%T
-%T
The time taken to serve the request, in seconds.
+%u
-%u
Remote user if the request was authenticated. May be bogus if return status
( %s
) is 401 (unauthorized).
+%U
-%U
The URL path requested, not including any query string.
+%v
-%v
The canonical ServerName
of the server serving the request.
+%V
-%V
The server name according to the UseCanonicalName
setting.
+%X
-%X
Connection status when response is completed:
@@ -226,21 +228,21 @@
+%I
-%I
Bytes received, including request and headers. Cannot be zero.
You need to enable mod_logio
to use this.
+%O
-%O
Bytes sent, including headers. May be zero in rare cases
such as when a request is aborted before a response is sent.
You need to enable mod_logio
to use this.
+%S
-%S
Bytes transferred (received and sent), including request and headers,
cannot be zero. This is the combination of %I and %O. You need to
enable mod_logio
to use this.
+%{VARNAME}^ti
-%{VARNAME}^ti
The contents of VARNAME:
trailer line(s)
in the request sent to the server.
+%{VARNAME}^to
diff --git a/docs/manual/programs/ab.html.tr.utf8 b/docs/manual/programs/ab.html.tr.utf8
index 8da3aad326e..6d5d17cb9f0 100644
--- a/docs/manual/programs/ab.html.tr.utf8
+++ b/docs/manual/programs/ab.html.tr.utf8
@@ -28,6 +28,7 @@
ko |
tr %{VARNAME}^to
The contents of VARNAME:
trailer line(s)
in the response sent from the server.
ab
Apache Hiper Metin Aktarım Protokolü
(HTTP) sunucunuzun baÅarımını ölçmek amacıyla kullanabileceÄiniz bir
diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c
index f33aa936d5e..2cd65bf151c 100644
--- a/modules/proxy/mod_proxy_balancer.c
+++ b/modules/proxy/mod_proxy_balancer.c
@@ -655,7 +655,7 @@ static int proxy_balancer_post_request(proxy_worker *worker,
&& (apr_table_get(r->notes, "proxy_timedout")) != NULL) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02460)
"%s: Forcing worker (%s) into error state "
- "due to timeout and 'failonstatus' parameter being set",
+ "due to timeout and 'failontimeout' parameter being set",
balancer->s->name, ap_proxy_worker_name(r->pool, worker));
worker->s->status |= PROXY_WORKER_IN_ERROR;
worker->s->error_time = apr_time_now();
diff --git a/server/mpm/event/fdqueue.c b/server/mpm/event/fdqueue.c
index 485a98dc109..343146f4c65 100644
--- a/server/mpm/event/fdqueue.c
+++ b/server/mpm/event/fdqueue.c
@@ -17,7 +17,7 @@
#include "fdqueue.h"
#include "apr_atomic.h"
-static apr_uint32_t zero_pt = APR_UINT32_MAX/2;
+static const apr_uint32_t zero_pt = APR_UINT32_MAX/2;
struct recycled_pool
{
diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c
index 821f69db484..ecd76c7cbf6 100644
--- a/server/mpm/netware/mpm_netware.c
+++ b/server/mpm/netware/mpm_netware.c
@@ -942,7 +942,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
"caught SIGTERM, shutting down");
while (worker_thread_count > 0) {
- printf ("\rShutdown pending. Waiting for %u thread(s) to terminate...",
+ printf ("\rShutdown pending. Waiting for %lu thread(s) to terminate...",
worker_thread_count);
apr_thread_yield();
}
@@ -963,7 +963,7 @@ static int netware_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
/* Wait for all of the threads to terminate before initiating the restart */
while (worker_thread_count > 0) {
- printf ("\rRestart pending. Waiting for %u thread(s) to terminate...",
+ printf ("\rRestart pending. Waiting for %lu thread(s) to terminate...",
worker_thread_count);
apr_thread_yield();
}