Lines Matching defs:authority
349 auto authority = req.fs.header(http2::HD__AUTHORITY);
364 // For HTTP/2 proxy, we require :authority.
366 faddr->alt_mode == UpstreamAltMode::NONE && !authority) {
376 // nghttp2 library guarantees either :authority or host exist
377 if (!authority) {
379 authority = req.fs.header(http2::HD_HOST);
382 if (authority) {
383 req.authority = authority->value;
458 if (downstream_queue_.can_activate(downstream->request().authority)) {
755 req.authority = value;
1717 // reliably determine the authority yet.
1979 auto authority = util::extract_host(req.authority);
1980 if (authority.empty()) {
1990 loc = concat_string_ref(balloc, StringRef::from_lit("https://"), authority,
1993 loc = concat_string_ref(balloc, StringRef::from_lit("https://"), authority,
2156 StringRef scheme, authority, path;
2158 rv = http2::construct_push_component(balloc, scheme, authority, path,
2168 if (authority.empty()) {
2169 authority = req.authority;
2172 if (resp.is_resource_pushed(scheme, authority, path)) {
2176 rv = submit_push_promise(scheme, authority, path, downstream);
2181 resp.resource_pushed(scheme, authority, path);
2188 const StringRef &authority,
2194 // 4 for :method, :scheme, :path and :authority
2201 nva.push_back(http2::make_nv_ls_nocopy(":authority", authority));
2275 StringRef scheme, authority, path;
2277 rv = http2::construct_push_component(balloc, scheme, authority, path, base,
2287 if (authority.empty()) {
2288 authority = req.authority;
2293 if (resp.is_resource_pushed(scheme, authority, path)) {
2297 rv = submit_push_promise(scheme, authority, path, downstream);
2303 resp.resource_pushed(scheme, authority, path);