mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Introduce a per connection "peer_ip" and a per request "client_ip" to
distinguish between the raw IP address of the connection and the effective IP address of the request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1206291 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -154,7 +154,7 @@ static int process_echo_connection(conn_rec *c)
|
||||
if (!APR_STATUS_IS_EOF(rv) && ! APR_STATUS_IS_TIMEUP(rv))
|
||||
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
|
||||
"ProtocolEcho: Failure reading from %s",
|
||||
c->remote_ip);
|
||||
c->peer_ip);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -163,7 +163,7 @@ static int process_echo_connection(conn_rec *c)
|
||||
apr_brigade_cleanup(bb);
|
||||
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
|
||||
"ProtocolEcho: Error - read empty brigade from %s!",
|
||||
c->remote_ip);
|
||||
c->peer_ip);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -181,7 +181,7 @@ static int process_echo_connection(conn_rec *c)
|
||||
if (rv != APR_SUCCESS) {
|
||||
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
|
||||
"ProtocolEcho: Failure writing to %s",
|
||||
c->remote_ip);
|
||||
c->peer_ip);
|
||||
break;
|
||||
}
|
||||
apr_brigade_cleanup(bb);
|
||||
|
Reference in New Issue
Block a user