/third_party/node/test/parallel/ |
D | test-http2-connect.js | 22 const authority = `http://localhost:${server.address().port}`; constant 28 clients.add(connect(authority)); 29 clients.add(connect(authority, options)); 30 clients.add(connect(authority, options, listener())); 31 clients.add(connect(authority, listener())); 52 const authority = `http://localhost:${port}`; constant 55 connect(authority, options, mustCall(onSessionConnect)); 69 const authority = 'https://localhost'; constant 72 connect(authority).on('error', () => {}); 86 const authority = `https://localhost:${port}`; constant [all …]
|
D | test-http2-buffersize.js | 33 const authority = `http://localhost:${server.address().port}`; constant 34 client = connect(authority);
|
/third_party/nghttp2/src/ |
D | shrpx_http2_upstream.cc | 349 auto authority = req.fs.header(http2::HD__AUTHORITY); in on_request_headers() local 366 faddr->alt_mode == UpstreamAltMode::NONE && !authority) { in on_request_headers() 377 if (!authority) { in on_request_headers() 379 authority = req.fs.header(http2::HD_HOST); in on_request_headers() 382 if (authority) { in on_request_headers() 383 req.authority = authority->value; in on_request_headers() 458 if (downstream_queue_.can_activate(downstream->request().authority)) { in start_downstream() 755 req.authority = value; in on_frame_send_callback() 1979 auto authority = util::extract_host(req.authority); in redirect_to_https() local 1980 if (authority.empty()) { in redirect_to_https() [all …]
|
D | shrpx_https_upstream.cc | 163 req.authority = in htp_uricb() 164 concat_string_ref(balloc, req.authority, StringRef{data, len}); in htp_uricb() 264 auto authority = util::get_uri_field(uri.c_str(), u, UF_HOST); in rewrite_request_host_path_from_uri() local 266 auto ipv6 = std::find(std::begin(authority), std::end(authority), ':') != in rewrite_request_host_path_from_uri() 267 std::end(authority); in rewrite_request_host_path_from_uri() 268 auto authoritylen = authority.size(); in rewrite_request_host_path_from_uri() 275 if (authoritylen > authority.size()) { in rewrite_request_host_path_from_uri() 281 p = std::copy(std::begin(authority), std::end(authority), p); in rewrite_request_host_path_from_uri() 292 req.authority = StringRef{iovec.base, p}; in rewrite_request_host_path_from_uri() 294 req.authority = authority; in rewrite_request_host_path_from_uri() [all …]
|
D | shrpx_http2_downstream_connection.cc | 267 auto authority = StringRef(downstream_hostport); in push_request_headers() local 269 if (no_host_rewrite && !req.authority.empty()) { in push_request_headers() 270 authority = req.authority; in push_request_headers() 273 downstream_->set_request_downstream_host(authority); 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() 372 handler->get_forwarded_for(), req.authority, req.scheme); in push_request_headers()
|
D | shrpx_mruby_module_request.cc | 110 return mrb_str_new(mrb, req.authority.c_str(), req.authority.size()); in request_get_authority() 124 const char *authority; in request_set_authority() local 126 mrb_get_args(mrb, "s", &authority, &n); in request_set_authority() 131 req.authority = in request_set_authority() 132 make_string_ref(balloc, StringRef{authority, static_cast<size_t>(n)}); in request_set_authority()
|
D | http2_test.cc | 1120 StringRef scheme, authority, path; in test_http2_construct_push_component() local 1125 CU_ASSERT(0 == http2::construct_push_component(balloc, scheme, authority, in test_http2_construct_push_component() 1128 CU_ASSERT("example.org" == authority); in test_http2_construct_push_component() 1132 authority = StringRef{}; in test_http2_construct_push_component() 1137 CU_ASSERT(0 == http2::construct_push_component(balloc, scheme, authority, in test_http2_construct_push_component() 1140 CU_ASSERT("" == authority); in test_http2_construct_push_component() 1144 authority = StringRef{}; in test_http2_construct_push_component() 1149 CU_ASSERT(0 == http2::construct_push_component(balloc, scheme, authority, in test_http2_construct_push_component() 1152 CU_ASSERT("" == authority); in test_http2_construct_push_component() 1156 authority = StringRef{}; in test_http2_construct_push_component() [all …]
|
D | shrpx_downstream.h | 194 StringRef authority; member 254 bool is_resource_pushed(const StringRef &scheme, const StringRef &authority, in is_resource_pushed() 260 std::make_tuple(scheme, authority, path)) != in is_resource_pushed() 266 void resource_pushed(const StringRef &scheme, const StringRef &authority, in resource_pushed() 272 pushed_resources->emplace_back(scheme, authority, path); in resource_pushed()
|
D | HttpServer.cc | 476 nghttp2_rcbuf_decref(rcbuf.authority); in ~Stream() 1012 auto authority = stream->header.authority; in submit_push_promise() local 1014 if (authority.empty()) { in submit_push_promise() 1015 authority = stream->header.host; in submit_push_promise() 1024 http2::make_nv_ls_nocopy(":authority", authority)); in submit_push_promise() 1040 promised_header.authority = in submit_push_promise() 1041 make_string_ref(promised_stream->balloc, authority); in submit_push_promise() 1211 auto authority = stream->header.authority; in prepare_redirect_response() local 1212 if (authority.empty()) { in prepare_redirect_response() 1213 authority = stream->header.host; in prepare_redirect_response() [all …]
|
D | shrpx_log.cc | 546 if (req.authority.empty()) { in construct_absolute_request_uri() 550 auto len = req.authority.size() + req.path.size(); in construct_absolute_request_uri() 568 p = std::copy(std::begin(req.authority), std::end(req.authority), p); in construct_absolute_request_uri() 599 req.method == HTTP_CONNECT ? req.authority in upstream_accesslog() 673 if (!req.authority.empty()) { in upstream_accesslog() 674 std::tie(p, last) = copy(req.authority, p, last); in upstream_accesslog()
|
D | shrpx_http_downstream_connection.cc | 491 auto authority = StringRef(downstream_hostport); in push_request_headers() local 495 if (no_host_rewrite && !req.authority.empty()) { in push_request_headers() 496 authority = req.authority; in push_request_headers() 499 downstream_->set_request_downstream_host(authority); in push_request_headers() 510 buf->append(authority); in push_request_headers() 517 buf->append(authority); in push_request_headers() 526 buf->append(authority); in push_request_headers() 619 handler->get_forwarded_for(), req.authority, req.scheme); in push_request_headers()
|
D | shrpx_client_handler.cc | 1052 StringRef authority, path; in get_downstream_connection() local 1056 authority = req.orig_authority; in get_downstream_connection() 1061 authority = sni_; in get_downstream_connection() 1062 } else if (!req.authority.empty()) { in get_downstream_connection() 1063 authority = req.authority; in get_downstream_connection() 1067 authority = h->value; in get_downstream_connection() 1080 req.orig_authority = authority; in get_downstream_connection() 1089 group_idx = match_downstream_addr_group(routerconf, authority, path, groups, in get_downstream_connection()
|
/third_party/nghttp2/integration-tests/ |
D | server_tester.go | 61 authority string // server's host:port member 199 authority := fmt.Sprintf("127.0.0.1:%v", opts.connectPort) 205 url: fmt.Sprintf("%v://%v", scheme, authority), 209 authority: authority, 225 conn, err := net.Dial("tcp", authority) 329 authority string // authority, defaults to backend server address member 585 authority := st.authority 586 if rp.authority != "" { 587 authority = rp.authority 589 _ = st.enc.WriteField(pair(":authority", authority))
|
/third_party/libxml2/ |
D | uri.c | 488 if (uri->authority != NULL) xmlFree(uri->authority); in xmlParse3986Host() 489 uri->authority = NULL; in xmlParse3986Host() 1176 } else if (uri->authority != NULL) { in xmlSaveUri() 1184 p = uri->authority; in xmlSaveUri() 1372 if (uri->authority != NULL) xmlFree(uri->authority); in xmlCleanURI() 1373 uri->authority = NULL; in xmlCleanURI() 1396 if (uri->authority != NULL) xmlFree(uri->authority); in xmlFreeURI() 1793 if (uri->authority) { in xmlURIEscape() 1795 xmlURIEscapeStr(BAD_CAST uri->authority, BAD_CAST "/?;:@"); in xmlURIEscape() 1969 ((ref->authority == NULL) && (ref->server == NULL))) { in xmlBuildURI() [all …]
|
D | testURI.c | 39 if (uri->authority) printf("authority: %s\n", uri->authority); in handleURI()
|
/third_party/openssl/doc/HOWTO/ |
D | certificates.txt | 11 - Certificate authority 48 policies). A certificate request is sent to a certificate authority 50 yourself if you have your own certificate authority or create a 57 Now, cert.csr can be sent to the certificate authority, if they can 65 The certificate authority performs various checks (according to their 76 with a certificate authority, or if you just want to create a test 87 If you created everything yourself, or if the certificate authority
|
/third_party/openssl/doc/man3/ |
D | ADMISSIONS.pod | 112 The B<NAMING_AUTHORITY> type has an authority ID and URL, and text fields. 122 The B<ADMISSION_SYNTAX> type has an authority name and a stack of 132 The B<ADMISSION> type has an authority name, authority object, and a 143 The B<PROFESSION_INFO> type has a name authority, stacks of
|
D | X509V3_set_ctx.pod | 20 e.g., to look up values for filling in authority key identifiers. 28 for instance to help generating an authority key identifier extension. 41 or not) to provide fallback data for the authority key identifier extension.
|
/third_party/openssl/test/recipes/ |
D | 90-test_store.t | 549 my ($file, $isdir, $authority) = @_; 589 return "file://$authority$file" if defined $authority; 600 my ($file, $isdir, $authority) = @_; 603 return to_file_uri(to_abs_file($file), $isdir, $authority);
|
/third_party/nghttp2/examples/ |
D | libevent-client.c | 78 char *authority; member 108 stream_data->authority = malloc(stream_data->authoritylen + extra); in create_http2_stream_data() 109 memcpy(stream_data->authority, &uri[u->field_data[UF_HOST].off], in create_http2_stream_data() 113 (size_t)snprintf(stream_data->authority + u->field_data[UF_HOST].len, in create_http2_stream_data() 147 free(stream_data->authority); in delete_http2_stream_data() 424 MAKE_NV(":authority", stream_data->authority, stream_data->authoritylen), in submit_request()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | url | 5 authority: // 15 authority: // 21 authority: // 30 authority: // 36 authority: // 42 authority: //
|
/third_party/rust/crates/tracing/examples/examples/ |
D | tower-load.rs | 305 fn gen_uri(authority: &str) -> (usize, String) { in gen_uri() 311 (len, format!("http://{}/{}", authority, letter)) in gen_uri() 325 let authority = format!("{}", addr); in load_gen() localVariable 332 let (len, uri) = gen_uri(&authority); in load_gen()
|
/third_party/node/lib/internal/http2/ |
D | core.js | 3174 function connect(authority, options, listener) { argument 3183 if (typeof authority === 'string') 3184 authority = new URL(authority); 3186 assertIsObject(authority, 'authority', ['string', 'Object', 'URL']); 3188 const protocol = authority.protocol || options.protocol || 'https:'; 3189 const port = '' + (authority.port !== '' ? 3190 authority.port : (authority.protocol === 'http:' ? 80 : 443)); 3193 if (authority.hostname) { 3194 host = authority.hostname; 3198 } else if (authority.host) { [all …]
|
/third_party/ffmpeg/libavformat/ |
D | url.h | 357 const char *authority; /**< "//" if it is a real URL */ member 367 #define url_component_end_scheme authority
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_uri.js | 50 this.authority = '[PC preview] unknow authority';
|