• Home
  • Raw
  • Download

Lines Matching refs:nva

203       std::vector<nghttp2_nv> nva;  in http2_data_read_callback()  local
204 nva.reserve(trailers.size()); in http2_data_read_callback()
205 http2::copy_headers_to_nva_nocopy(nva, trailers, http2::HDOP_STRIP_ALL); in http2_data_read_callback()
206 if (!nva.empty()) { in http2_data_read_callback()
207 rv = nghttp2_submit_trailer(session, stream_id, nva.data(), nva.size()); in http2_data_read_callback()
292 auto nva = std::vector<nghttp2_nv>(); in push_request_headers() local
293 nva.reserve(req.fs.headers().size() + 11 + num_cookies + in push_request_headers()
297 nva.push_back(http2::make_nv_ll(":method", "CONNECT")); in push_request_headers()
298 nva.push_back(http2::make_nv_ll(":protocol", "websocket")); in push_request_headers()
300 nva.push_back(http2::make_nv_ls_nocopy( in push_request_headers()
311 nva.push_back(http2::make_nv_ll(":scheme", "https")); in push_request_headers()
313 nva.push_back(http2::make_nv_ls_nocopy(":scheme", req.scheme)); in push_request_headers()
317 nva.push_back(http2::make_nv_ll(":path", "*")); in push_request_headers()
319 nva.push_back(http2::make_nv_ls_nocopy(":path", req.path)); in push_request_headers()
323 nva.push_back(http2::make_nv_ls_nocopy(":authority", authority)); in push_request_headers()
325 nva.push_back(http2::make_nv_ls_nocopy("host", authority)); in push_request_headers()
328 nva.push_back(http2::make_nv_ls_nocopy(":authority", authority)); in push_request_headers()
343 http2::copy_headers_to_nva_nocopy(nva, req.fs.headers(), build_flags); in push_request_headers()
346 downstream_->crumble_request_cookie(nva); in push_request_headers()
356 nva.push_back(http2::make_nv_ll("early-data", "1")); in push_request_headers()
384 nva.push_back(http2::make_nv_ls_nocopy("forwarded", value)); in push_request_headers()
387 nva.push_back(http2::make_nv_ls_nocopy("forwarded", fwd->value)); in push_request_headers()
402 nva.push_back(http2::make_nv_ls_nocopy("x-forwarded-for", xff_value)); in push_request_headers()
404 nva.push_back(http2::make_nv_ls_nocopy("x-forwarded-for", xff->value)); in push_request_headers()
421 nva.push_back(http2::make_nv_ls_nocopy("x-forwarded-proto", xfp_value)); in push_request_headers()
423 nva.push_back(http2::make_nv_ls_nocopy("x-forwarded-proto", xfp->value)); in push_request_headers()
430 nva.push_back(http2::make_nv_ls_nocopy("via", (*via).value)); in push_request_headers()
448 nva.push_back(http2::make_nv_ls_nocopy("via", StringRef{iov.base, p})); in push_request_headers()
456 nva.push_back(http2::make_nv_ll("te", "trailers")); in push_request_headers()
460 nva.push_back(http2::make_nv_nocopy(p.name, p.value)); in push_request_headers()
465 for (auto &nv : nva) { in push_request_headers()
491 rv = http2session_->submit_request(this, nva.data(), nva.size(), data_prdptr); in push_request_headers()