Home
last modified time | relevance | path

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

12

/third_party/node/test/parallel/
Dtest-http2-altsvc.js13 stream.session.altsvc('h2=":8000"', stream.id);
22 session.altsvc('h2=":8000"', 'https://example.org:8111/this');
23 session.altsvc('h2=":8000"', new URL('https://example.org:8111/this'));
24 session.altsvc('h2=":8000"', { origin: 'https://example.org:8111' });
27 session.altsvc('h2=":8000"', 3);
32 () => session.altsvc('h2=":8000"', input),
45 () => session.altsvc(input),
55 () => session.altsvc(input),
66 () => session.altsvc('clear', input),
81 () => session.altsvc('h2=":8000', input),
[all …]
Dtest-http2-malformed-altsvc.js17 const altsvc = new h2test.AltSvcFrame((1 << 14) + 1); constant
27 client.write(altsvc.data, common.mustCall(() => {
/third_party/curl/lib/
Daltsvc.c88 static void altsvc_free(struct altsvc *as) in altsvc_free()
95 static struct altsvc *altsvc_createid(const char *srchost, in altsvc_createid()
102 struct altsvc *as = calloc(sizeof(struct altsvc), 1); in altsvc_createid()
124 static struct altsvc *altsvc_create(char *srchost, in altsvc_create()
164 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.h43 struct altsvc { struct
64 void Curl_altsvc_cleanup(struct altsvcinfo **altsvc); argument
66 struct altsvcinfo *altsvc, const char *value,
72 struct altsvc **dstentry,
DMakefile.inc95 altsvc.c \
218 altsvc.h \
/third_party/node/deps/nghttp2/lib/
Dnghttp2_frame.c202 nghttp2_ext_altsvc *altsvc; in nghttp2_frame_altsvc_init() local
207 altsvc = frame->payload; in nghttp2_frame_altsvc_init()
208 altsvc->origin = origin; in nghttp2_frame_altsvc_init()
209 altsvc->origin_len = origin_len; in nghttp2_frame_altsvc_init()
210 altsvc->field_value = field_value; in nghttp2_frame_altsvc_init()
211 altsvc->field_value_len = field_value_len; in nghttp2_frame_altsvc_init()
215 nghttp2_ext_altsvc *altsvc; in nghttp2_frame_altsvc_free() local
217 altsvc = frame->payload; in nghttp2_frame_altsvc_free()
218 if (altsvc == NULL) { in nghttp2_frame_altsvc_free()
223 nghttp2_mem_free(mem, altsvc->origin); in nghttp2_frame_altsvc_free()
[all …]
Dnghttp2_submit.c509 nghttp2_ext_altsvc *altsvc; in nghttp2_submit_altsvc() local
560 altsvc = &item->ext_frame_payload.altsvc; in nghttp2_submit_altsvc()
563 frame->ext.payload = altsvc; in nghttp2_submit_altsvc()
Dnghttp2_frame.h74 nghttp2_ext_altsvc altsvc; member
/third_party/nghttp2/lib/
Dnghttp2_frame.c202 nghttp2_ext_altsvc *altsvc; in nghttp2_frame_altsvc_init() local
207 altsvc = frame->payload; in nghttp2_frame_altsvc_init()
208 altsvc->origin = origin; in nghttp2_frame_altsvc_init()
209 altsvc->origin_len = origin_len; in nghttp2_frame_altsvc_init()
210 altsvc->field_value = field_value; in nghttp2_frame_altsvc_init()
211 altsvc->field_value_len = field_value_len; in nghttp2_frame_altsvc_init()
215 nghttp2_ext_altsvc *altsvc; in nghttp2_frame_altsvc_free() local
217 altsvc = frame->payload; in nghttp2_frame_altsvc_free()
218 if (altsvc == NULL) { in nghttp2_frame_altsvc_free()
223 nghttp2_mem_free(mem, altsvc->origin); in nghttp2_frame_altsvc_free()
[all …]
Dnghttp2_submit.c509 nghttp2_ext_altsvc *altsvc; in nghttp2_submit_altsvc() local
560 altsvc = &item->ext_frame_payload.altsvc; in nghttp2_submit_altsvc()
563 frame->ext.payload = altsvc; in nghttp2_submit_altsvc()
Dnghttp2_frame.h74 nghttp2_ext_altsvc altsvc; member
/third_party/nghttp2/doc/
Dprogrammers-guide.rst264 const alt_svc *altsvc = (const alt_svc *)frame->ext.payload;
265 size_t originlen = strlen(altsvc->origin);
266 size_t fieldlen = strlen(altsvc->field);
277 memcpy(p, altsvc->origin, originlen);
279 memcpy(p, altsvc->field, fieldlen);
297 static const alt_svc altsvc = {"example.com", "h2=\":8000\""};
300 (void *)&altsvc);
360 alt_svc *altsvc;
382 altsvc = (alt_svc *)malloc(sizeof(alt_svc));
383 altsvc->origin = origin;
[all …]
/third_party/curl/tests/data/
Dtest35946 --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPSPORT/%TESTNUMBER" "http://%HOSTIP:…
48 <file name="log/altsvc-%TESTNUMBER">
87 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest35846 --http2 --alt-svc "log/altsvc-%TESTNUMBER" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER" "http://%HOSTIP:%…
48 <file name="log/altsvc-%TESTNUMBER">
87 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest35643 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "log/altsvc-%TESTNUMBER"
62 <file name="log/altsvc-%TESTNUMBER" mode="text">
Dtest35539 <file name="log/altsvc-%TESTNUMBER">
Dtest16546 altsvc
Dtest190875 <file name="log/altsvc-%TESTNUMBER" mode="text">
/third_party/nghttp2/src/
Dapp_helper.cc351 auto altsvc = static_cast<nghttp2_ext_altsvc *>(frame->ext.payload); in print_frame() local
354 static_cast<int>(altsvc->origin_len), altsvc->origin, in print_frame()
355 static_cast<int>(altsvc->field_value_len), altsvc->field_value); in print_frame()
Dshrpx_https_upstream.cc1054 const AltSvc &altsvc) { in write_altsvc() argument
1055 buf->append(util::percent_encode_token(balloc, altsvc.protocol_id)); in write_altsvc()
1057 buf->append(util::quote_string(balloc, altsvc.host)); in write_altsvc()
1059 buf->append(altsvc.service); in write_altsvc()
/third_party/curl/docs/examples/
D.gitignore2 altsvc
DMakefile.inc26 altsvc \
/third_party/curl/src/
Dtool_cfgable.h59 char *altsvc; /* alt-svc cache file name */ member
Dtool_cfgable.c57 Curl_safefree(config->altsvc); in free_config_fields()
/third_party/curl/docs/
DHTTP3.md140 curl --alt-svc altsvc.cache https://quic.aiortc.org/

12