@@ -381,7 +381,7 @@ static int iq_bubble_down(h2_proxy_iqueue *q, int i, int bottom,
381381 * h2_proxy_ngheader
382382 ******************************************************************************/
383383#define H2_HD_MATCH_LIT_CS (l , name ) \
384- ((strlen(name) == sizeof(l) - 1) && !apr_strnatcasecmp (l, name))
384+ ((strlen(name) == sizeof(l) - 1) && !ap_cstr_casecmp (l, name))
385385
386386static int h2_util_ignore_header (const char * name )
387387{
@@ -500,7 +500,7 @@ static int ignore_header(const literal *lits, size_t llen,
500500
501501 for (i = 0 ; i < llen ; ++ i ) {
502502 lit = & lits [i ];
503- if (lit -> len == nlen && !apr_strnatcasecmp (lit -> name , name )) {
503+ if (lit -> len == nlen && !ap_cstr_casecmp (lit -> name , name )) {
504504 return 1 ;
505505 }
506506 }
@@ -542,7 +542,7 @@ void h2_proxy_util_camel_case_header(char *s, size_t len)
542542
543543/** Match a header value against a string constance, case insensitive */
544544#define H2_HD_MATCH_LIT (l , name , nlen ) \
545- ((nlen == sizeof(l) - 1) && !apr_strnatcasecmp (l, name))
545+ ((nlen == sizeof(l) - 1) && !ap_cstr_casecmp (l, name))
546546
547547static apr_status_t h2_headers_add_h1 (apr_table_t * headers , apr_pool_t * pool ,
548548 const char * name , size_t nlen ,
0 commit comments