Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 134) sorted by relevance

123456

/curl/tests/unit/
H A Dunit1653.c69 goto fail;
72 goto fail;
83 goto fail;
86 goto fail;
94 goto fail;
97 goto fail;
111 goto fail;
114 goto fail;
127 goto fail;
130 goto fail;
[all …]
H A Dunit1394.c90 fail("assertion failure");
96 fail("assertion failure");
103 fail("assertion failure");
111 fail("assertion failure");
117 fail("assertion failure");
124 fail("assertion failure");
H A Dunit2603.c57 fail("unexpected req component"); in check_eq()
62 fail("unexpected req component"); in check_eq()
66 fail("unexpected req component"); in check_eq()
88 fail("error consuming"); in parse_success()
95 fail("not all consumed"); in parse_success()
105 fail("unexpected input consumption"); in parse_success()
115 fail("unexpected req header count"); in parse_success()
H A Dunit1654.c52 goto fail;
58 goto fail;
109 fail:
/curl/tests/data/
H A Dtest3604 --fail
5 --fail-with-body
15 Error on both --fail-with-body and --fail
18 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body --fail
H A Dtest1526 --fail
19 authentication so we should still fail.
29 HTTP GET with an error code that might trick authentication and --fail
32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail
H A Dtest12475 --fail-early
23 --fail-early
26 --fail-early h1234://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
H A Dtest3496 --fail-with-body
25 HTTP GET --fail-with-body on HTTP error return
28 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body
H A Dtest246 --fail
25 HTTP GET fail silently on HTTP error return
28 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail --silent --show-error
H A Dtest3616 --fail-with-body
25 HTTP GET --fail-with-body on HTTP error return - twice
28 http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail-with-body
H A Dtest207729 curl --fail --negotiate to unauthenticated service fails
32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --fail --negotiate
/curl/docs/cmdline-opts/
H A Dfail-with-body.md4 Long: fail-with-body
9 Mutexed: fail
12 - fail
13 - fail-early
15 - --fail-with-body $URL
18 # `--fail-with-body`
26 This is an alternative option to --fail which makes curl fail for the same
H A Dfail.md4 Long: fail
9 Mutexed: fail-with-body
13 - fail-with-body
14 - fail-early
16 - --fail $URL
19 # `--fail`
30 To get both the error code and also save the content, use --fail-with-body
33 This method is not fail-safe and there are occasions where non-successful
H A Dfail-early.md4 Long: fail-early
11 - fail
12 - fail-with-body
14 - --fail-early $URL https://two.example
17 # `--fail-early`
30 This option does not imply --fail, which causes transfers to fail due to the
31 server's HTTP status code. You can combine the two options, however note --fail
/curl/lib/
H A Dhttp_aws_sigv4.c325 fail: in make_headers()
421 fail: in calc_s3_payload_hash()
643 goto fail; in Curl_output_aws_sigv4()
722 goto fail; in Curl_output_aws_sigv4()
726 goto fail; in Curl_output_aws_sigv4()
733 goto fail; in Curl_output_aws_sigv4()
747 goto fail; in Curl_output_aws_sigv4()
752 goto fail; in Curl_output_aws_sigv4()
770 goto fail; in Curl_output_aws_sigv4()
778 goto fail; in Curl_output_aws_sigv4()
[all …]
H A Dfopen.c107 goto fail; in Curl_fopen()
116 goto fail; in Curl_fopen()
128 goto fail; in Curl_fopen()
139 goto fail; in Curl_fopen()
143 goto fail; in Curl_fopen()
148 fail: in Curl_fopen()
H A Dftplistparser.c382 goto fail; in Curl_ftp_parselist()
400 goto fail; in Curl_ftp_parselist()
412 goto fail; in Curl_ftp_parselist()
493 goto fail; in Curl_ftp_parselist()
504 goto fail; in Curl_ftp_parselist()
511 goto fail; in Curl_ftp_parselist()
517 goto fail; in Curl_ftp_parselist()
561 goto fail; in Curl_ftp_parselist()
911 goto fail; in Curl_ftp_parselist()
1023 goto fail; in Curl_ftp_parselist()
[all …]
H A Deasy.c164 goto fail; in global_init()
169 goto fail; in global_init()
174 goto fail; in global_init()
179 goto fail; in global_init()
184 goto fail; in global_init()
189 goto fail; in global_init()
194 goto fail; in global_init()
207 fail: in global_init()
929 goto fail; in curl_easy_duphandle()
940 goto fail; in curl_easy_duphandle()
[all …]
/curl/docs/examples/
H A Dparseurl.c49 goto fail; in main()
68 goto fail; in main()
77 fail: in main()
/curl/.github/scripts/
H A Dverify-examples.pl51 my $fail = 0;
78 $fail = 1;
91 return ($fail ? 0 : $l);
/curl/src/
H A Dtool_operhlp.c103 goto fail; in add_file_name_to_url()
108 goto fail; in add_file_name_to_url()
150 goto fail; in add_file_name_to_url()
155 goto fail; in add_file_name_to_url()
160 goto fail; in add_file_name_to_url()
171 fail: in add_file_name_to_url()
H A Dtool_ipfs.c72 goto fail; in ipfs_gateway()
87 goto fail; in ipfs_gateway()
92 goto fail; in ipfs_gateway()
106 goto fail; in ipfs_gateway()
119 goto fail; in ipfs_gateway()
125 fail: in ipfs_gateway()
H A Dtool_formparse.c739 goto fail; in formparse()
746 goto fail; in formparse()
761 goto fail; in formparse()
764 goto fail; in formparse()
774 goto fail; in formparse()
791 goto fail; in formparse()
809 goto fail; in formparse()
841 goto fail; in formparse()
846 goto fail; in formparse()
898 goto fail; in formparse()
[all …]
/curl/lib/vssh/
H A Dcurl_path.c152 goto fail; in Curl_get_pathname()
158 goto fail; in Curl_get_pathname()
167 goto fail; in Curl_get_pathname()
198 fail: in Curl_get_pathname()
/curl/docs/libcurl/opts/
H A DCURLOPT_FAILONERROR.md25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FAILONERROR, long fail);
30 A long parameter set to 1 tells the library to fail the request if the HTTP
34 This method is not fail-safe and there are occasions where non-successful
47 0, do not fail on error

Completed in 29 milliseconds

123456