Lines Matching refs:hdr_buf
1216 struct http_hpack_header_buf *hdr_buf) in check_user_request_headers_http2() argument
1224 required_len = hdr_buf->name_len + hdr_buf->value_len + 2; in check_user_request_headers_http2()
1226 if (hdr_buf->name_len == strlen(header->name) && in check_user_request_headers_http2()
1227 (strncasecmp(hdr_buf->name, header->name, hdr_buf->name_len) == 0)) { in check_user_request_headers_http2()
1244 memcpy(dest, header->name, hdr_buf->name_len); in check_user_request_headers_http2()
1245 dest[hdr_buf->name_len] = '\0'; in check_user_request_headers_http2()
1247 ctx->cursor += (hdr_buf->name_len + 1); in check_user_request_headers_http2()
1248 dest += (hdr_buf->name_len + 1); in check_user_request_headers_http2()
1251 memcpy(dest, hdr_buf->value, hdr_buf->value_len); in check_user_request_headers_http2()
1252 dest[hdr_buf->value_len] = '\0'; in check_user_request_headers_http2()
1254 ctx->cursor += (hdr_buf->value_len + 1); in check_user_request_headers_http2()