/curl/tests/libtest/ |
H A D | lib512.c | 33 CURLcode code; in test() local 36 code = curl_global_init(CURL_GLOBAL_ALL); in test() 37 if(code == CURLE_OK) { in test() 48 code = curl_easy_setopt(curl2, CURLOPT_URL, URL); in test() 49 if(code == CURLE_OK) { in test() 51 code = curl_easy_perform(curl2); in test() 52 if(code == CURLE_OK) in test()
|
H A D | lib1509.c | 38 CURLcode code; in test() local 56 code = curl_easy_perform(curl); in test() 57 if(CURLE_OK != code) { in test() 60 __FILE__, __LINE__, code, curl_easy_strerror(code)); in test() 65 code = curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &headerSize); in test() 66 if(CURLE_OK != code) { in test() 69 __FILE__, __LINE__, code, curl_easy_strerror(code)); in test()
|
H A D | notexists.pl | 26 my $code = 0; 35 $code = 1; 38 exit $code;
|
H A D | lib1556.c | 49 CURLcode code; in test() local 63 code = curl_easy_perform(curl); in test() 64 if(CURLE_OK != code) { in test() 67 __FILE__, __LINE__, code, curl_easy_strerror(code)); in test()
|
H A D | lib1522.c | 54 CURLcode code = TEST_ERR_MAJOR_BAD; in test() local 76 code = curl_easy_perform(curl); in test() 78 if(code == CURLE_OK) { in test() 93 printf("curl_easy_perform() failed. e = %d\n", code); in test() 100 return code; in test()
|
H A D | lib506.c | 132 CURLcode code; in fire() local 152 code = curl_easy_perform(curl); in fire() 153 if(code) { in fire() 156 tdata->url, i, (int)code); in fire() 179 CURLcode code = CURLE_OK; in test() local 331 code = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); in test() 332 if(code != CURLE_OK) { in test()
|
H A D | libntlmconnect.c | 46 CURLcode code; in callback() local 54 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback() 56 if(CURLE_OK != code) { in callback() 59 __FILE__, __LINE__, (int)code, curl_easy_strerror(code)); in callback()
|
H A D | lib678.c | 68 CURLcode code = CURLE_OUT_OF_MEMORY; in test_cert_blob() local 93 code = curl_easy_perform(curl); in test_cert_blob() 97 return code; in test_cert_blob()
|
H A D | lib586.c | 101 CURLcode code; in fire() local 118 code = curl_easy_perform(curl); in fire() 119 if(code != CURLE_OK) { in fire() 122 tdata->url, i, (int)code); in fire()
|
/curl/docs/examples/ |
H A D | htmltitle.cpp | 91 CURLcode code; in init() local 101 if(code != CURLE_OK) { in init() 106 code = curl_easy_setopt(conn, CURLOPT_URL, url); in init() 107 if(code != CURLE_OK) { in init() 112 code = curl_easy_setopt(conn, CURLOPT_FOLLOWLOCATION, 1L); in init() 113 if(code != CURLE_OK) { in init() 119 if(code != CURLE_OK) { in init() 125 if(code != CURLE_OK) { in init() 260 CURLcode code; in main() local 281 code = curl_easy_perform(conn); in main() [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_HTTP_CONNECTCODE.md | 17 CURLINFO_HTTP_CONNECTCODE - get the CONNECT response code 29 Pass a pointer to a long to receive the last received HTTP proxy response code 30 to a CONNECT request. The returned value is zero if no such response code was 47 long code; 48 res = curl_easy_getinfo(curl, CURLINFO_HTTP_CONNECTCODE, &code); 49 if(!res && code) 50 printf("The CONNECT response code: %03ld\n", code);
|
H A D | CURLINFO_PROXY_ERROR.md | 68 Pass a pointer to a long to receive a detailed error code when the most recent 69 transfer returned a **CURLE_PROXY** error. That error code matches the 72 The error code is zero (**CURLPX_OK**) if no response code was available.
|
H A D | CURLINFO_RESPONSE_CODE.md | 20 CURLINFO_RESPONSE_CODE - get the last response code 33 (OpenLDAP only) response code. This option was previously known as 35 no server response code has been received.
|
/curl/tests/unit/ |
H A D | unit1608.c | 54 CURLcode code; variable 60 code = curl_easy_setopt(easy, CURLOPT_DNS_SHUFFLE_ADDRESSES, 1L); 61 abort_unless(code == CURLE_OK, "curl_easy_setopt failed");
|
/curl/packages/vms/ |
H A D | curlmsg.msg | 52 OBSOLETE4 <obsolete error code> 58 OBSOLETE10 <obsolete error code> 60 OBSOLETE12 <obsolete error code> 64 OBSOLETE16 <obsolete error code> 68 OBSOLETE20 <obsolete error code> 77 OBSOLETE29 <obsolete error code> 80 OBSOLETE32 <obsolete error code> 88 OBSOLETE40 <obsolete error code> 92 OBSOLETE44 <obsolete error code> 94 OBSOLETE46 <obsolete error code> [all …]
|
/curl/src/ |
H A D | tool_vms.c | 93 void vms_special_exit(int code, int vms_show) in vms_special_exit() argument 100 decc$__posix_exit(code); in vms_special_exit() 104 if(code > CURL_LAST) { /* If CURL_LAST exceeded then */ in vms_special_exit() 108 vms_code = vms_cond[code] | vms_show; in vms_special_exit()
|
/curl/tests/data/ |
H A D | test151 | 16 This contains a response code >= 400, so curl shouldn't display this. Even 17 though it's a response code that triggers authentication, we're not using 28 HTTP GET with an error code that might trick authentication
|
H A D | test152 | 17 This contains a response code >= 400, so curl shouldn't display this. Even 18 though it's a response code that triggers authentication, we're not using 29 HTTP GET with an error code that might trick authentication and --fail
|
H A D | test1430 | 33 HTTP GET with negative response code 51 # Due to invalid HTTP response code
|
/curl/lib/ |
H A D | openldap.c | 621 if(code != LDAP_SUCCESS && code != LDAP_NO_RESULTS_RETURNED) in oldap_state_mechs_resp() 650 switch(code) { in oldap_state_mechs_resp() 701 int code) in oldap_state_bind_resp() argument 709 if(code != LDAP_SUCCESS) in oldap_state_bind_resp() 733 int code = LDAP_SUCCESS; in oldap_connecting() local 758 code = rc; in oldap_connecting() 761 data->info.httpcode = code; in oldap_connecting() 792 if(code != LDAP_SUCCESS) { in oldap_connecting() 991 int code; in oldap_recv() local 1024 data->info.httpcode = code; in oldap_recv() [all …]
|
H A D | socks_gssapi.c | 111 CURLcode code; in Curl_SOCKS5_gssapi_negotiate() local 207 nwritten = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code); in Curl_SOCKS5_gssapi_negotiate() 208 if(code || (4 != nwritten)) { in Curl_SOCKS5_gssapi_negotiate() 219 gss_send_token.length, &code); in Curl_SOCKS5_gssapi_negotiate() 220 if(code || ((ssize_t)gss_send_token.length != nwritten)) { in Curl_SOCKS5_gssapi_negotiate() 413 nwritten = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code); in Curl_SOCKS5_gssapi_negotiate() 414 if(code || (4 != nwritten)) { in Curl_SOCKS5_gssapi_negotiate() 423 nwritten = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 1, &code); in Curl_SOCKS5_gssapi_negotiate() 424 if(code || ( 1 != nwritten)) { in Curl_SOCKS5_gssapi_negotiate() 433 gss_w_token.length, &code); in Curl_SOCKS5_gssapi_negotiate() [all …]
|
H A D | socks_sspi.c | 71 CURLcode code; in Curl_SOCKS5_gssapi_negotiate() local 210 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code); in Curl_SOCKS5_gssapi_negotiate() 211 if(code || (4 != written)) { in Curl_SOCKS5_gssapi_negotiate() 225 sspi_send_token.cbBuffer, &code); in Curl_SOCKS5_gssapi_negotiate() 226 if(code || (sspi_send_token.cbBuffer != (size_t)written)) { in Curl_SOCKS5_gssapi_negotiate() 479 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 4, &code); in Curl_SOCKS5_gssapi_negotiate() 480 if(code || (4 != written)) { in Curl_SOCKS5_gssapi_negotiate() 490 written = Curl_conn_cf_send(cf->next, data, (char *)socksreq, 1, &code); in Curl_SOCKS5_gssapi_negotiate() 491 if(code || (1 != written)) { in Curl_SOCKS5_gssapi_negotiate() 500 sspi_send_token.cbBuffer, &code); in Curl_SOCKS5_gssapi_negotiate() [all …]
|
/curl/.github/scripts/ |
H A D | spellcheck.yaml | 26 - ':matches(code, pre)' 27 - 'code'
|
/curl/docs/cmdline-opts/ |
H A D | libcurl.md | 6 Help: Generate libcurl code for this command line 20 libcurl-using C source code written to the file that does the equivalent of
|
/curl/docs/libcurl/ |
H A D | curl_multi_strerror.md | 18 curl_multi_strerror - return string describing error code 30 This function returns a string describing the *CURLMcode* error code
|