William A. Rowe Jr
0ebed1b38e
A rather ugly patch since the code was refactored recently to exclude
the simple patch for 2.4.x, illustrated below.
Completes the changeset r1729930 and resolves all 2.4.19-dev corrections,
but other 2.5.0-dev specific changes may still be needed on trunk.
--- server/scoreboard.c (revision 1729907)
+++ server/scoreboard.c (working copy)
@@ -491,9 +491,8 @@
ws->conn_bytes = 0;
}
if (r) {
- const char *client = ap_get_remote_host(c, r->per_dir_config,
- REMOTE_NOLOOKUP, NULL);
- if (!client || !strcmp(client, c->client_ip)) {
+ const char *client;
+ if (!(client = ap_get_useragent_host(r, REMOTE_NOLOOKUP, NULL))) {
apr_cpystrn(ws->client, r->useragent_ip, sizeof(ws->client));
}
else {
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729931 13f79535-47bb-0310-9956-ffa450edef68
2016-02-12 01:19:49 +00:00
..
2016-01-29 15:51:25 +00:00
1999-08-24 06:46:03 +00:00
2011-12-19 16:10:22 +00:00
2011-11-13 00:20:32 +00:00
2014-10-11 05:47:02 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2011-11-21 15:51:48 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2015-08-31 20:41:18 +00:00
2014-10-22 05:12:51 +00:00
2006-07-11 20:33:53 +00:00
2015-12-30 00:22:44 +00:00
2011-01-17 10:45:54 +00:00
2016-01-29 13:13:05 +00:00
2015-10-04 10:41:27 +00:00
2016-02-12 01:04:58 +00:00
2006-07-11 20:33:53 +00:00
2015-10-07 19:17:34 +00:00
2015-03-10 17:25:17 +00:00
2012-04-25 10:36:37 +00:00
2006-04-27 05:30:39 +00:00
2015-05-16 09:17:29 +00:00
2015-11-24 14:38:54 +00:00
2014-10-07 16:59:44 +00:00
2013-10-02 12:12:36 +00:00
2015-11-21 22:20:54 +00:00
2015-11-23 16:46:01 +00:00
2012-08-09 12:11:09 +00:00
2016-02-05 22:24:38 +00:00
2012-10-12 16:41:34 +00:00
2016-01-19 15:43:17 +00:00
2016-02-12 01:19:49 +00:00
2008-04-07 10:45:43 +00:00
2014-07-19 13:36:52 +00:00
2012-01-06 18:15:08 +00:00
2012-02-24 20:47:01 +00:00
2014-08-21 06:56:40 +00:00
2016-02-12 01:17:03 +00:00
2014-12-08 21:20:50 +00:00
2014-12-08 20:06:24 +00:00
2014-11-27 13:46:11 +00:00
2011-10-10 20:41:26 +00:00
2016-01-19 15:43:17 +00:00
2016-01-19 15:43:17 +00:00
2014-07-20 09:32:58 +00:00
2016-01-19 09:55:25 +00:00
2012-12-16 11:49:14 +00:00
2012-08-07 14:49:44 +00:00
2014-07-23 21:15:06 +00:00
2015-12-10 06:52:10 +00:00
2016-02-12 01:17:03 +00:00
2014-06-07 04:57:44 +00:00
2015-03-10 17:25:17 +00:00
2015-12-30 12:03:01 +00:00
2016-01-19 12:02:41 +00:00