Home
last modified time | relevance | path

Searched refs:cl (Results 1 – 14 of 14) sorted by relevance

/curl/tests/libtest/
H A Dlib2306.c35 CURL *cl; in test() local
40 easy_init(cl); in test()
41 easy_setopt(cl, CURLOPT_URL, URL); in test()
42 easy_setopt(cl, CURLOPT_VERBOSE, 1L); in test()
43 res = curl_easy_perform(cl); in test()
48 easy_setopt(cl, CURLOPT_URL, URL2); in test()
49 res = curl_easy_perform(cl); in test()
52 curl_easy_cleanup(cl); in test()
/curl/docs/libcurl/opts/
H A DCURLINFO_CONTENT_LENGTH_UPLOAD_T.md51 curl_off_t cl;
52 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_UPLOAD_T, &cl);
54 printf("Upload size: %" CURL_FORMAT_CURL_OFF_T "\n", cl);
H A DCURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md52 curl_off_t cl;
53 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, &cl);
55 printf("Download size: %" CURL_FORMAT_CURL_OFF_T "\n", cl);
H A DCURLINFO_CONTENT_LENGTH_UPLOAD.md54 double cl;
55 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_UPLOAD, &cl);
57 printf("Size: %.0f\n", cl);
H A DCURLINFO_CONTENT_LENGTH_DOWNLOAD.md55 double cl;
56 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &cl);
58 printf("Size: %.0f\n", cl);
/curl/tests/server/
H A Drtspd.c104 size_t cl; /* Content-Length of the incoming request */ member
467 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest()
486 req->cl = clen - req->skip; in ProcessRequest()
490 logmsg("... but will abort after %zu bytes", req->cl); in ProcessRequest()
533 if(req->cl) { in ProcessRequest()
534 logmsg(" Expecting %zu POSTed bytes", req->cl); in ProcessRequest()
586 if(req->cl > 0) { in ProcessRequest()
587 if(req->cl <= req->offset - (end - req->reqbuf) - strlen(END_OF_HEADERS)) in ProcessRequest()
678 req->cl = 0; in get_request()
703 got = sread(sock, reqbuf + req->offset, req->cl); in get_request()
H A Dsws.c107 size_t cl; /* Content-Length of the incoming request */ member
642 req->cl = 0; in ProcessRequest()
644 req->cl = clen - req->skip; in ProcessRequest()
658 if(req->cl) in ProcessRequest()
659 req->cl = 0; in ProcessRequest()
727 if(req->cl) { in ProcessRequest()
728 logmsg(" Expecting %zu POSTed bytes", req->cl); in ProcessRequest()
752 !req->cl && in ProcessRequest()
776 if(req->cl > 0) { in ProcessRequest()
853 req->cl = 0; in init_httprequest()
[all …]
/curl/lib/
H A Dcf-h1-proxy.c78 curl_off_t cl; /* size of content to read and ignore */ member
106 ts->cl = 0; in tunnel_reinit()
325 NULL, 10, &ts->cl); in on_resp_header()
422 if(ts->cl) { in recv_CONNECT_resp()
425 ts->cl--; in recv_CONNECT_resp()
426 if(ts->cl <= 0) { in recv_CONNECT_resp()
491 if(ts->cl) { in recv_CONNECT_resp()
492 infof(data, "Ignore %" FMT_OFF_T " bytes of response-body", ts->cl); in recv_CONNECT_resp()
H A Dsetopt.c1834 struct curl_slist *cl; in setopt_cptr() local
1840 cl = curl_slist_append(data->state.cookielist, ptr); in setopt_cptr()
1841 if(!cl) { in setopt_cptr()
1846 data->state.cookielist = cl; /* store the list for later use */ in setopt_cptr()
/curl/scripts/
H A Dchecksrc.pl902 my $cl = $3;
905 $cl =~ s/[^)]//g;
907 if(length($op) == length($cl)) {
/curl/CMake/
H A DPickyWarnings.cmake34 if(MSVC) # clang-cl
140 -Wlanguage-extension-token # clang 3.0 # Avoid for clang-cl to allow __int64
248 # clang-cl
/curl/src/
H A Dtool_operate.c1374 struct curl_slist *cl; in config2setopts() local
1379 for(cl = config->cookies; cl; cl = cl->next) { in config2setopts()
1380 if(cl == config->cookies) in config2setopts()
1381 result = curlx_dyn_addf(&cookies, "%s", cl->data); in config2setopts()
1383 result = curlx_dyn_addf(&cookies, ";%s", cl->data); in config2setopts()
/curl/
H A Dappveyor.yml92 … job_name: 'CMake, VS2022, Debug, x64, Schannel, Static, Unicode, Build-tests & examples, clang-cl'
/curl/winbuild/
H A DMakefileBuild.vc42 # Allow changing C compiler via environment variable CC (default cl.exe)
45 CC = cl.exe

Completed in 55 milliseconds