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

Function mod_fcgid_modify_auth_header

modules/aaa/mod_authnz_fcgi.c:686–695  ·  view source on GitHub ↗

almost from mod_fcgid */

Source from the content-addressed store, hash-verified

684
685/* almost from mod_fcgid */
686static int mod_fcgid_modify_auth_header(void *vars,
687 const char *key, const char *val)
688{
689 /* When the application gives a 200 response, the server ignores response
690 headers whose names aren't prefixed with Variable- prefix, and ignores
691 any response content */
692 if (ap_cstr_casecmpn(key, "Variable-", 9) == 0)
693 apr_table_setn(vars, key, val);
694 return 1;
695}
696
697static int fix_auth_header(void *vr, const char *key, const char *val)
698{

Callers

nothing calls this directly

Calls 1

ap_cstr_casecmpnFunction · 0.85

Tested by

no test coverage detected