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

Function ignore_header

modules/http2/h2_proxy_util.c:495–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493};
494
495static int ignore_header(const literal *lits, size_t llen,
496 const char *name, size_t nlen)
497{
498 const literal *lit;
499 size_t i;
500
501 for (i = 0; i < llen; ++i) {
502 lit = &lits[i];
503 if (lit->len == nlen && !ap_cstr_casecmp(lit->name, name)) {
504 return 1;
505 }
506 }
507 return 0;
508}
509
510static int h2_proxy_req_ignore_header(const char *name, size_t len)
511{

Callers 2

Calls 1

ap_cstr_casecmpFunction · 0.85

Tested by

no test coverage detected