Lines Matching refs:altsvc
427 int parse_altsvc(AltSvc &altsvc, const StringRef &opt,
450 altsvc.protocol_id = make_string_ref(config->balloc, tokens[0]);
452 altsvc.port = port;
453 altsvc.service = make_string_ref(config->balloc, tokens[1]);
457 altsvc.host = make_string_ref(config->balloc, tokens[2]);
462 altsvc.origin = make_string_ref(config->balloc, tokens[3]);
467 altsvc.params = make_string_ref(config->balloc, tokens[4]);
3402 AltSvc altsvc{};
3404 if (parse_altsvc(altsvc, opt, optarg) != 0) {
3408 config->http.altsvcs.push_back(std::move(altsvc));
4023 AltSvc altsvc{};
4025 if (parse_altsvc(altsvc, opt, optarg) != 0) {
4029 config->http.http2_altsvcs.push_back(std::move(altsvc));