/curl/tests/unit/ |
H A D | unit3205.c | 40 uint16_t id; member 603 uint16_t id; member 672 uint16_t id; variable 677 if(id != test->id) { 680 test->rfc, id, test->id); 688 if(id != test->id) { 691 test->openssl, id, test->id); 716 if(test->id >= 0x0011 && test->id < 0x0017) { 735 uint16_t id; variable 745 if(id != test->id) { [all …]
|
H A D | unit2600.c | 76 int id; member 114 char id[16]; member 125 (int)Curl_timediff(Curl_now(), current_tr->started), ctx->id); in cf_test_destroy() 146 (int)duration_ms, ctx->id); in cf_test_connect() 198 curl_msprintf(ctx->id, "v6-%d", ctx->stats->creations); in cf_test_create() 206 curl_msprintf(ctx->id, "v4-%d", ctx->stats->creations); in cf_test_create() 214 infof(data, "%04dms: cf[%s] created", (int)created_at, ctx->id); in cf_test_create() 245 tc->id, tc->exp_result, tr->result); in check_result() 250 tc->id, tc->exp_cf4_creations, tr->cf4.creations); in check_result() 255 tc->id, tc->exp_cf6_creations, tr->cf6.creations); in check_result() [all …]
|
/curl/tests/libtest/ |
H A D | lib1918.c | 43 curl_easy_option_by_id(o->id); in test() 45 if(ename->id != o->id) { in test() 47 ename->id, o->id); in test() 49 else if(eid->id != o->id) { in test() 51 ename->id, o->id); in test()
|
H A D | lib1912.c | 44 if(curlcheck_long_option(o->id) != in test() 49 if(curlcheck_off_t_option(o->id) != (o->type == CURLOT_OFF_T)) { in test() 53 if(curlcheck_string_option(o->id) != (o->type == CURLOT_STRING)) { in test() 57 if(curlcheck_slist_option(o->id) != (o->type == CURLOT_SLIST)) { in test() 61 if(curlcheck_cb_data_option(o->id) != (o->type == CURLOT_CBPTR)) { in test() 66 if(curlcheck_write_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test() 70 if(curlcheck_conv_cb_option(o->id) && (o->type != CURLOT_FUNCTION)) { in test() 74 if(curlcheck_postfields_option(o->id) && (o->type != CURLOT_OBJECT)) { in test()
|
H A D | lib1911.c | 65 switch(o->id) { in test() 79 result = curl_easy_setopt(easy, o->id, buffer); in test()
|
/curl/lib/ |
H A D | easygetopt.c | 32 static struct curl_easyoption *lookup(const char *name, CURLoption id) in lookup() argument 34 DEBUGASSERT(name || id); in lookup() 36 if(name || id) { in lookup() 44 if((o->id == id) && !(o->flags & CURLOT_FLAG_ALIAS)) in lookup() 60 const struct curl_easyoption *curl_easy_option_by_id(CURLoption id) in curl_easy_option_by_id() argument 62 return lookup(NULL, id); in curl_easy_option_by_id() 86 const struct curl_easyoption *curl_easy_option_by_id (CURLoption id) in curl_easy_option_by_id() argument 88 (void)id; in curl_easy_option_by_id()
|
H A D | hash.c | 371 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem) in Curl_hash_offt_set() argument 373 return Curl_hash_add(h, &id, sizeof(id), elem); in Curl_hash_offt_set() 376 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_remove() argument 378 return Curl_hash_delete(h, &id, sizeof(id)); in Curl_hash_offt_remove() 381 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id) in Curl_hash_offt_get() argument 383 return Curl_hash_pick(h, &id, sizeof(id)); in Curl_hash_offt_get()
|
H A D | http2.c | 220 stream->id = -1; in h2_stream_ctx_create() 277 stream->id, bits); in drain_stream() 332 stream->id); in http2_data_done() 487 stream->id = 1; in cf_h2_ctx_init() 503 stream->id); in cf_h2_ctx_init() 965 newstream->id); in push_promise() 1743 stream->id); in http2_handle_stream_close() 1832 if(stream && stream->id > 0 && in h2_progress_egress() 1841 DEBUGASSERT(stream->id != -1); in h2_progress_egress() 2147 stream->id = stream_id; in h2_submit() [all …]
|
H A D | hash.h | 108 void *Curl_hash_offt_set(struct Curl_hash *h, curl_off_t id, void *elem); 109 int Curl_hash_offt_remove(struct Curl_hash *h, curl_off_t id); 110 void *Curl_hash_offt_get(struct Curl_hash *h, curl_off_t id);
|
/curl/ |
H A D | Dockerfile | 9 …ild --build-arg SOURCE_DATE_EPOCH=1711526400 --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t … 13 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl autoreconf -fi 14 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./configure -… 15 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl make 16 # docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/usr/src -w /usr/src curl/curl ./maketgz 8.7… 20 # docker run --rm -it -u $(id -u):$(id -g) -v (pwd):/usr/src -w /usr/src curl/curl bash
|
/curl/docs/libcurl/ |
H A D | curl_easy_option_by_id.md | 17 curl_easy_option_by_id - find an easy setopt option by id 24 const struct curl_easyoption *curl_easy_option_by_id(CURLoption id); 29 Given a *CURLoption* **id**, this function returns a pointer to the 31 curl_easy_setopt(3) option using that id. The option id is the CURLOPT_ 36 If libcurl has no option with the given id, this function returns NULL.
|
H A D | curl_global_sslset.md | 23 CURLsslset curl_global_sslset(curl_sslbackend id, 34 The backend can be identified by the *id* 37 **CURLSSLBACKEND_NONE** as *id*). If both *id* and *name* are 40 If neither *id* nor *name* are specified, the function fails with 81 curl_sslbackend id; 118 i, list[i]->name, list[i]->id);
|
H A D | curl_easy_option_next.md | 59 /* The CURLOPTTYPE_* id ranges can still be used to figure out what type/size 60 to use for curl_easy_setopt() for the given id */ 63 CURLoption id;
|
/curl/docs/examples/ |
H A D | sslbackend.c | 57 i, list[i]->name, list[i]->id); in main() 62 int id = atoi(name); in main() local 64 result = curl_global_sslset((curl_sslbackend)id, NULL, NULL); in main()
|
/curl/.github/ISSUE_TEMPLATE/ |
H A D | bug_report.yml | 24 id: reproducer 31 id: expected-behaviour 38 id: version 48 id: os
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_RTSP_SESSION_ID.md | 24 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_SESSION_ID, char **id); 35 The **id** pointer is NULL or points to private memory. You MUST NOT free - 50 char *id; 51 curl_easy_getinfo(curl, CURLINFO_RTSP_SESSION_ID, &id);
|
H A D | CURLOPT_ADDRESS_SCOPE.md | 16 CURLOPT_ADDRESS_SCOPE - scope id for IPv6 addresses 28 Pass a long specifying the scope id value to use when connecting to IPv6 addresses.
|
/curl/include/curl/ |
H A D | options.h | 53 CURLoption id; member 62 curl_easy_option_by_id(CURLoption id);
|
/curl/lib/vquic/ |
H A D | curl_quiche.c | 210 stream->id = -1; in h3_data_setup() 277 if(stream && stream->id == stream_id) { in get_stream_easy() 287 if(stream && stream->id == stream_id) { in get_stream_easy() 382 stream->id, result); in cb_each_header() 439 stream->id, nwritten); in cf_recv_body() 441 result, stream->id); in cf_recv_body() 492 CURL_PRIu64"]", rc, stream->id); in h3_process_event() 799 stream->id, *err); in recv_closed_stream() 805 stream->id); in recv_closed_stream() 997 stream->id = stream3_id; in h3_open_stream() [all …]
|
H A D | curl_osslq.c | 214 curl_int64_t id; member 370 nstream->id = stream_id; in cf_osslq_h3conn_add_stream() 536 stream->s.id = -1; in h3_data_setup() 564 stream->s.id); in h3_data_done() 943 stream->s.id); in cb_h3_read_req_body() 1192 x->s->id); in h3_quic_recv() 1297 s->id, rv); in cf_osslq_stream_recv() 1310 s->id, result); in cf_osslq_stream_recv() 1821 stream->s.id, in h3_stream_open() 1953 stream->s.id); in recv_closed_stream() [all …]
|
H A D | curl_ngtcp2.c | 213 stream->id = -1; in h3_data_setup() 246 stream->id, result); in cf_ngtcp2_stream_close() 257 stream->id); in h3_data_done() 274 if(stream && stream->id == stream_id) { in get_stream_easy() 919 stream->id, blen); in cb_h3_recv_data() 1173 stream->id); in recv_closed_stream() 1335 stream->id); in cb_h3_read_req_body() 1342 stream->id, (int)nvecs, in cb_h3_read_req_body() 1423 stream->id = (curl_int64_t)sid; in h3_stream_open() 1470 stream->id, data->state.url); in h3_stream_open() [all …]
|
/curl/tests/ |
H A D | servers.pm | 1482 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 1619 my ($id, $verb, $ipv6) = @_; 1623 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 1771 my ($id, $verb, $ipv6) = @_; 1775 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 1893 my ($id, $verb, $ipv6) = @_; 1898 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 1954 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 2234 my $idnum = ($id && ($id =~ /^(\d+)$/) && ($id > 1)) ? $id : 1; 2275 my ($id, $verb, $ipv6) = @_; [all …]
|
/curl/lib/vtls/ |
H A D | cipher_suite.h | 42 int Curl_cipher_suite_get_str(uint16_t id, char *buf, size_t buf_size,
|
H A D | sectransp.c | 860 else if(id == SSL_RSA_WITH_RC2_CBC_MD5) in sectransp_cipher_suite_get_str() 864 else if(id == SSL_RSA_WITH_DES_CBC_MD5) in sectransp_cipher_suite_get_str() 879 if(!id) { in sectransp_cipher_suite_walk_str() 890 id = SSL_RSA_WITH_RC2_CBC_MD5; in sectransp_cipher_suite_walk_str() 892 id = SSL_RSA_WITH_IDEA_CBC_MD5; in sectransp_cipher_suite_walk_str() 894 id = SSL_RSA_WITH_DES_CBC_MD5; in sectransp_cipher_suite_walk_str() 898 return id; in sectransp_cipher_suite_walk_str() 1019 if(id) { in sectransp_set_selected_ciphers() 1022 id = 0; in sectransp_set_selected_ciphers() 1024 if(!id) { in sectransp_set_selected_ciphers() [all …]
|
/curl/.github/workflows/ |
H A D | http3-linux.yml | 74 - id: wolfssl-version 109 id: cache-gnutls 118 id: cache-wolfssl 128 id: cache-nghttp3 137 id: cache-ngtcp2 146 id: cache-nghttp2 153 - id: settings 327 id: cache-gnutls 358 id: cache-ngtcp2 398 id: cache-quiche [all …]
|