/third_party/node/test/parallel/ |
D | test-http2-altsvc.js | 13 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 …]
|
D | test-http2-malformed-altsvc.js | 17 const altsvc = new h2test.AltSvcFrame((1 << 14) + 1); constant 27 client.write(altsvc.data, common.mustCall(() => {
|
/third_party/curl/lib/ |
D | altsvc.c | 88 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 …]
|
D | altsvc.h | 43 struct altsvc { struct 64 void Curl_altsvc_cleanup(struct altsvcinfo **altsvc); argument 66 struct altsvcinfo *altsvc, const char *value, 72 struct altsvc **dstentry,
|
D | Makefile.inc | 95 altsvc.c \ 218 altsvc.h \
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_frame.c | 202 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 …]
|
D | nghttp2_submit.c | 509 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()
|
D | nghttp2_frame.h | 74 nghttp2_ext_altsvc altsvc; member
|
/third_party/nghttp2/lib/ |
D | nghttp2_frame.c | 202 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 …]
|
D | nghttp2_submit.c | 509 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()
|
D | nghttp2_frame.h | 74 nghttp2_ext_altsvc altsvc; member
|
/third_party/nghttp2/doc/ |
D | programmers-guide.rst | 264 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/ |
D | test359 | 46 --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">
|
D | test358 | 46 --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">
|
D | test356 | 43 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --alt-svc "log/altsvc-%TESTNUMBER" 62 <file name="log/altsvc-%TESTNUMBER" mode="text">
|
D | test355 | 39 <file name="log/altsvc-%TESTNUMBER">
|
D | test1654 | 6 altsvc
|
D | test1908 | 75 <file name="log/altsvc-%TESTNUMBER" mode="text">
|
/third_party/nghttp2/src/ |
D | app_helper.cc | 351 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()
|
D | shrpx_https_upstream.cc | 1054 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 | .gitignore | 2 altsvc
|
D | Makefile.inc | 26 altsvc \
|
/third_party/curl/src/ |
D | tool_cfgable.h | 59 char *altsvc; /* alt-svc cache file name */ member
|
D | tool_cfgable.c | 57 Curl_safefree(config->altsvc); in free_config_fields()
|
/third_party/curl/docs/ |
D | HTTP3.md | 140 curl --alt-svc altsvc.cache https://quic.aiortc.org/
|