| 1643 | }; |
| 1644 | |
| 1645 | static int contains_name(const literal *lits, size_t llen, nghttp2_nv *nv) |
| 1646 | { |
| 1647 | const literal *lit; |
| 1648 | size_t i; |
| 1649 | |
| 1650 | for (i = 0; i < llen; ++i) { |
| 1651 | lit = &lits[i]; |
| 1652 | if (lit->len == nv->namelen |
| 1653 | && !ap_cstr_casecmpn(lit->name, (const char *)nv->name, nv->namelen)) { |
| 1654 | return 1; |
| 1655 | } |
| 1656 | } |
| 1657 | return 0; |
| 1658 | } |
| 1659 | |
| 1660 | int h2_util_ignore_resp_header(const char *name) |
| 1661 | { |
no test coverage detected