Home
last modified time | relevance | path

Searched refs:altsvc (Results 1 – 25 of 29) sorted by relevance

12

/external/curl/lib/
Daltsvc.c84 static void altsvc_free(struct altsvc *as) in altsvc_free()
91 static struct altsvc *altsvc_createid(const char *srchost, in altsvc_createid()
98 struct altsvc *as = calloc(sizeof(struct altsvc), 1); in altsvc_createid()
125 static struct altsvc *altsvc_create(char *srchost, in altsvc_create()
165 struct altsvc *as; in altsvc_add()
231 static CURLcode altsvc_out(struct altsvc *as, FILE *fp) in altsvc_out()
310 struct altsvcinfo *altsvc = *altsvcp; in Curl_altsvc_cleanup() local
311 for(e = altsvc->list.head; e; e = n) { in Curl_altsvc_cleanup()
312 struct altsvc *as = e->ptr; in Curl_altsvc_cleanup()
316 free(altsvc->filename); in Curl_altsvc_cleanup()
[all …]
Daltsvc.h45 struct altsvc { struct
66 void Curl_altsvc_cleanup(struct altsvcinfo **altsvc); argument
68 struct altsvcinfo *altsvc, const char *value,
74 struct altsvc **dstentry,
DMakefile.inc103 altsvc.c \
229 altsvc.h \
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_alt_svc_wire_format_test.cc137 SpdyAltSvcWireFormat::AlternativeService* altsvc, in FuzzAlternativeService() argument
142 altsvc->protocol_id = "a=b%c"; in FuzzAlternativeService()
143 altsvc->port = 42; in FuzzAlternativeService()
146 altsvc->host = "foo\"bar\\baz"; in FuzzAlternativeService()
151 altsvc->max_age_seconds = 1111; in FuzzAlternativeService()
155 altsvc->version.push_back(24); in FuzzAlternativeService()
156 altsvc->version.push_back(25); in FuzzAlternativeService()
164 SpdyAltSvcWireFormat::AlternativeService altsvc; in TEST() local
165 EXPECT_EQ("", altsvc.protocol_id); in TEST()
166 EXPECT_EQ("", altsvc.host); in TEST()
[all …]
Dspdy_alt_svc_wire_format.cc218 for (const AlternativeService& altsvc : altsvc_vector) { in SerializeHeaderFieldValue() local
223 const bool is_ietf_format_quic = (altsvc.protocol_id == "hq"); in SerializeHeaderFieldValue()
226 for (char c : altsvc.protocol_id) { in SerializeHeaderFieldValue()
258 for (char c : altsvc.host) { in SerializeHeaderFieldValue()
264 absl::StrAppend(&value, ":", altsvc.port, "\""); in SerializeHeaderFieldValue()
265 if (altsvc.max_age_seconds != 86400) { in SerializeHeaderFieldValue()
266 absl::StrAppend(&value, "; ma=", altsvc.max_age_seconds); in SerializeHeaderFieldValue()
268 if (!altsvc.version.empty()) { in SerializeHeaderFieldValue()
270 for (uint32_t quic_version : altsvc.version) { in SerializeHeaderFieldValue()
275 for (auto it = altsvc.version.begin(); it != altsvc.version.end(); in SerializeHeaderFieldValue()
[all …]
Dspdy_framer.h120 SpdySerializedFrame SerializeAltSvc(const SpdyAltSvcIR& altsvc);
194 bool SerializeAltSvc(const SpdyAltSvcIR& altsvc,
Dspdy_protocol.h844 void add_altsvc(const SpdyAltSvcWireFormat::AlternativeService& altsvc) { in add_altsvc() argument
845 altsvc_vector_.push_back(altsvc); in add_altsvc()
1077 virtual void VisitAltSvc(const SpdyAltSvcIR& altsvc) = 0;
Dspdy_framer.cc832 void VisitAltSvc(const SpdyAltSvcIR& altsvc) override { in VisitAltSvc() argument
833 frame_ = framer_->SerializeAltSvc(altsvc); in VisitAltSvc()
1309 void VisitAltSvc(const SpdyAltSvcIR& altsvc) override { in VisitAltSvc() argument
1310 result_ = framer_->SerializeAltSvc(altsvc, output_); in VisitAltSvc()
Dspdy_framer_test.cc410 for (const auto& altsvc : altsvc_vector) { in OnAltSvc() local
411 test_altsvc_ir_->add_altsvc(altsvc); in OnAltSvc()
4669 SpdyAltSvcWireFormat::AlternativeService altsvc( in TEST_P() local
4671 altsvc_ir.add_altsvc(altsvc); in TEST_P()
/external/cronet/net/third_party/quiche/src/quiche/http2/core/
Dhttp2_trace_logging.cc100 const spdy::SpdyAltSvcWireFormat::AlternativeService& altsvc) in Log()
103 << "protocol_id=" << altsvc.protocol_id << " host=" << altsvc.host in Log()
104 << " port=" << altsvc.port in Log()
105 << " max_age_seconds=" << altsvc.max_age_seconds << " version="; in Log()
106 for (auto v : altsvc.version) { in Log()
436 void Http2FrameLogger::VisitAltSvc(const SpdyAltSvcIR& altsvc) { in VisitAltSvc() argument
439 << FORMAT_ATTR(altsvc, stream_id) << FORMAT_ATTR(altsvc, origin) in VisitAltSvc()
441 << LogContainer(altsvc.altsvc_vector(), LogAlternativeService()); in VisitAltSvc()
Dhttp2_trace_logging.h128 void VisitAltSvc(const spdy::SpdyAltSvcIR& altsvc) override;
/external/curl/tests/data/
Dtest35947 --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" "http://%HOSTIP:…
49 <file name="log/altsvc-%TESTNUMBER">
88 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest35847 --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%…
49 <file name="log/altsvc-%TESTNUMBER">
88 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest41244 --alt-svc "log/altsvc-%TESTNUMBER" "http://whohoo.:12345/%TESTNUMBER"
46 <file name="log/altsvc-%TESTNUMBER">
Dtest41344 --alt-svc "log/altsvc-%TESTNUMBER" "http://whohoo:12345/%TESTNUMBER"
46 <file name="log/altsvc-%TESTNUMBER">
Dtest35646 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "log/altsvc-%TESTNUMBER"
65 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest35539 <file name="log/altsvc-%TESTNUMBER">
Dtest16546 altsvc
Dtest190875 <file name="log/altsvc-%TESTNUMBER" mode="text">
/external/curl/docs/examples/
D.gitignore6 altsvc
DMakefile.inc28 altsvc \
/external/curl/src/
Dtool_cfgable.h53 char *altsvc; /* alt-svc cache file name */ member
Dtool_cfgable.c54 Curl_safefree(config->altsvc); in free_config_fields()
/external/tensorflow/third_party/
Dcurl.BUILD35 "lib/altsvc.c",
36 "lib/altsvc.h",
/external/curl/docs/
DHTTP3.md252 curl --alt-svc altsvc.cache https://quic.aiortc.org/

12