MCPcopy Create free account
hub / github.com/apache/httpd / ap_get_remote_logname

Function ap_get_remote_logname

server/core.c:1121–1132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119static APR_OPTIONAL_FN_TYPE(ap_ident_lookup) *ident_lookup;
1120
1121AP_DECLARE(const char *) ap_get_remote_logname(request_rec *r)
1122{
1123 if (r->connection->remote_logname != NULL) {
1124 return r->connection->remote_logname;
1125 }
1126
1127 if (ident_lookup) {
1128 return ident_lookup(r);
1129 }
1130
1131 return NULL;
1132}
1133
1134/* There are two options regarding what the "name" of a server is. The
1135 * "canonical" name as defined by ServerName and Port, or the "client's

Callers 8

ssl_var_lookupFunction · 0.85
mod_rewrite.cFile · 0.85
lookup_variableFunction · 0.85
ssl_var_lookupFunction · 0.85
log_remote_lognameFunction · 0.85
ap_add_common_varsFunction · 0.85
request_var_fnFunction · 0.85
http_core.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected