/third_party/nghttp2/src/ |
H A D | http2.h | 49 Header(std::string name, std::string value, bool no_index = false, in Header() 54 no_index(no_index) {} in Header() 56 Header() : token(-1), no_index(false) {} in Header() 69 bool no_index; member 74 bool no_index = false, int32_t token = -1) in HeaderRef() 75 : name(name), value(value), token(token), no_index(no_index) {} in HeaderRef() 77 HeaderRef() : token(-1), no_index(false) {} in HeaderRef() 90 bool no_index; member [all...] |
H A D | http2.cc | 283 bool no_index, int32_t token) { in to_header() 286 no_index, token); in to_header() 290 const uint8_t *value, size_t valuelen, bool no_index, in add_header() 301 nva.push_back(to_header(name, namelen, value, valuelen, no_index, token)); in add_header() 320 bool no_index, uint8_t nv_flags) { in make_nv_internal() 324 nv_flags | (no_index ? NGHTTP2_NV_FLAG_NO_INDEX : NGHTTP2_NV_FLAG_NONE); in make_nv_internal() 333 bool no_index, uint8_t nv_flags) { in make_nv_internal() 337 nv_flags | (no_index ? NGHTTP2_NV_FLAG_NO_INDEX : NGHTTP2_NV_FLAG_NONE); in make_nv_internal() 345 bool no_index) { in make_nv() 346 return make_nv_internal(name, value, no_index, NGHTTP2_NV_FLAG_NON in make_nv() 281 to_header(const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, bool no_index, int32_t token) to_header() argument 289 add_header(Headers &nva, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, bool no_index, int32_t token) add_header() argument 319 make_nv_internal(const std::string &name, const std::string &value, bool no_index, uint8_t nv_flags) make_nv_internal() argument 332 make_nv_internal(const StringRef &name, const StringRef &value, bool no_index, uint8_t nv_flags) make_nv_internal() argument 344 make_nv(const std::string &name, const std::string &value, bool no_index) make_nv() argument 349 make_nv(const StringRef &name, const StringRef &value, bool no_index) make_nv() argument 354 make_nv_nocopy(const std::string &name, const std::string &value, bool no_index) make_nv_nocopy() argument 361 make_nv_nocopy(const StringRef &name, const StringRef &value, bool no_index) make_nv_nocopy() argument [all...] |
H A D | shrpx_downstream_test.cc | 125 CU_ASSERT(cookies[0].no_index); in test_downstream_crumble_request_cookie() 126 CU_ASSERT(cookies[1].no_index); in test_downstream_crumble_request_cookie() 127 CU_ASSERT(cookies[2].no_index); in test_downstream_crumble_request_cookie()
|
H A D | shrpx_downstream.cc | 437 (kv.no_index ? NGHTTP2_NV_FLAG_NO_INDEX : 0))}); in crumble_request_cookie() 444 const StringRef &value, bool no_index, int32_t token) { in add_header() 446 headers.emplace_back(name, value, no_index, token); in add_header() 536 bool no_index, int32_t token) { in add_header_token() 537 shrpx::add_header(buffer_size_, headers_, name, value, no_index, token); in add_header_token() 563 const StringRef &value, bool no_index, in add_trailer_token() 567 shrpx::add_header(buffer_size_, trailers_, name, value, no_index, token); in add_trailer_token() 443 add_header(size_t &sum, HeaderRefs &headers, const StringRef &name, const StringRef &value, bool no_index, int32_t token) add_header() argument 535 add_header_token(const StringRef &name, const StringRef &value, bool no_index, int32_t token) add_header_token() argument 562 add_trailer_token(const StringRef &name, const StringRef &value, bool no_index, int32_t token) add_trailer_token() argument
|
H A D | shrpx_downstream.h | 95 bool no_index, int32_t token); 115 bool no_index, int32_t token); 377 // in |nva|. Headers::no_index is inherited.
|
H A D | http3.cc | 176 make_nv_internal(kv->name, kv->value, kv->no_index, nv_flags)); in copy_headers_to_nva_internal()
|
H A D | shrpx_http2_upstream.cc | 213 auto no_index = flags & NGHTTP2_NV_FLAG_NO_INDEX; in on_header_callback2() local 221 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2() 227 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2() 1547 nva.push_back(http2::make_nv_nocopy(kv.name, kv.value, kv.no_index)); in send_reply() 2216 nva.push_back(http2::make_nv_nocopy(kv.name, kv.value, kv.no_index)); in submit_push_promise() 2360 nva.push_back(http2::make_nv(kv.name, kv.value, kv.no_index)); in on_downstream_push_promise_complete()
|
H A D | shrpx_http3_upstream.cc | 1718 nva.push_back(http3::make_nv_nocopy(kv.name, kv.value, kv.no_index)); in send_reply() 2162 auto no_index = flags & NGHTTP3_NV_FLAG_NEVER_INDEX; in http_recv_request_header() local 2169 StringRef{valuebuf.base, valuebuf.len}, no_index, in http_recv_request_header() 2175 StringRef{valuebuf.base, valuebuf.len}, no_index, in http_recv_request_header()
|
H A D | nghttp.cc | 496 build_headers.emplace_back(kv.name, kv.value, kv.no_index); in submit_request() 503 nva.push_back(http2::make_nv(kv.name, kv.value, kv.no_index)); in submit_request() 1021 headers.emplace_back(kv.name, kv.value, kv.no_index); in on_upgrade_connect() 2467 nva.push_back(http2::make_nv(kv.name, kv.value, kv.no_index)); in file_read_callback()
|
H A D | http2_test.cc | 63 CU_ASSERT(!nva[0].no_index); in test_http2_add_header() 70 CU_ASSERT(nva[0].no_index); in test_http2_add_header()
|
H A D | shrpx_http2_session.cc | 943 auto no_index = flags & NGHTTP2_NV_FLAG_NO_INDEX; in on_header_callback2() local 952 no_index, token); in on_header_callback2() 957 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2()
|
H A D | HttpServer.cc | 981 nva.push_back(http2::make_nv_nocopy(nv.name, nv.value, nv.no_index)); in submit_response() 1114 nva.push_back(http2::make_nv(kv.name, kv.value, kv.no_index)); in file_read_callback()
|
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.h | 261 uint8_t no_index; member
|
H A D | nghttp2_hd.c | 753 inflater->no_index = 0; in nghttp2_hd_inflate_init() 1761 if (inflater->no_index) { in hd_inflate_commit_newname() 1808 if (inflater->no_index) { in hd_inflate_commit_indname() 1928 inflater->no_index = (*in & 0xf0u) == 0x10u; in nghttp2_hd_inflate_hd_nv() 1929 DEBUGF("inflatehd: indexing required=%d, no_index=%d\n", in nghttp2_hd_inflate_hd_nv() 1930 inflater->index_required, inflater->no_index); in nghttp2_hd_inflate_hd_nv()
|
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.h | 261 uint8_t no_index; member
|
H A D | nghttp2_hd.c | 753 inflater->no_index = 0; in nghttp2_hd_inflate_init() 1761 if (inflater->no_index) { in hd_inflate_commit_newname() 1808 if (inflater->no_index) { in hd_inflate_commit_indname() 1928 inflater->no_index = (*in & 0xf0u) == 0x10u; in nghttp2_hd_inflate_hd_nv() 1929 DEBUGF("inflatehd: indexing required=%d, no_index=%d\n", in nghttp2_hd_inflate_hd_nv() 1930 inflater->index_required, inflater->no_index); in nghttp2_hd_inflate_hd_nv()
|