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

Function edit_header

modules/metadata/mod_headers.c:678–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

676}
677
678static int edit_header(void *v, const char *key, const char *val)
679{
680 edit_do *ed = (edit_do *)v;
681 const char *repl = process_regexp(ed->hdr, val, ed->r);
682 if (repl == NULL)
683 return 0;
684
685 apr_table_addn(ed->t, key, repl);
686 return 1;
687}
688
689static int add_them_all(void *v, const char *key, const char *val)
690{

Callers

nothing calls this directly

Calls 1

process_regexpFunction · 0.85

Tested by

no test coverage detected