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

Function log_headers

modules/loggers/mod_log_forensic.c:168–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168static int log_headers(void *h_, const char *key, const char *value)
169{
170 hlog *h = h_;
171
172 /* note that we don't have to check h->pos here, coz its been done
173 for us by log_escape */
174 *h->pos++ = '|';
175 h->pos = log_escape(h->pos, h->end, key);
176 *h->pos++ = ':';
177 h->pos = log_escape(h->pos, h->end, value);
178
179 return 1;
180}
181
182static int log_before(request_rec *r)
183{

Callers

nothing calls this directly

Calls 1

log_escapeFunction · 0.85

Tested by

no test coverage detected