Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/curl/tests/http/clients/
H A Dws-data.c60 fprintf(stderr, "%s, %lu bytes (0x%lx)\n", in dump()
65 fprintf(stderr, "%4.4lx: ", (unsigned long)i); in dump()
71 fprintf(stderr, "%02x ", ptr[i + c]); in dump()
73 fputs(" ", stderr); in dump()
83 fprintf(stderr, "%c", in dump()
92 fputc('\n', stderr); /* newline */ in dump()
101 fprintf(stderr, "ws: send_binary(len=%ld) -> %d, %ld\n", in send_binary()
118 fprintf(stderr, "EAGAIN, sleep, try again\n"); in recv_binary()
160 fprintf(stderr, "recv_data: frame complete\n"); in recv_binary()
173 fprintf(stderr, in websocket_close()
[all …]
H A Dws-pingpong.c53 fprintf(stderr, in ping()
66 fprintf(stderr, "ws: curl_ws_recv returned %u, received %ld\n", in recv_pong()
72 fprintf(stderr, "recv_pong: wrong frame, got %d bytes rflags %x\n", in recv_pong()
77 fprintf(stderr, "ws: got PONG back\n"); in recv_pong()
80 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong()
83 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong()
93 fprintf(stderr, in websocket_close()
106 fprintf(stderr, "Receive pong\n"); in pingpong()
133 fprintf(stderr, "usage: ws-pingpong url payload\n"); in main()
150 fprintf(stderr, "curl_easy_perform() returned %u\n", (int)res); in main()
[all …]
H A Dh2-serverpush.c52 fprintf(stderr, "%s, %lu bytes (0x%lx)\n", in dump()
57 fprintf(stderr, "%4.4lx: ", (unsigned long)i); in dump()
63 fprintf(stderr, "%02x ", ptr[i + c]); in dump()
65 fputs(" ", stderr); in dump()
75 fprintf(stderr, "%c", in dump()
84 fputc('\n', stderr); /* newline */ in dump()
98 fprintf(stderr, "== Info: %s", data); in my_trace()
175 fprintf(stderr, "Failed to create output file for push\n"); in server_push_callback()
188 fprintf(stderr, "**** header %lu: %s\n", (unsigned long)i, headp); in server_push_callback()
216 fprintf(stderr, "need URL as argument\n"); in main()
[all …]
H A Dh2-pausing.c70 FILE *output = stderr; in debug_cb()
152 fprintf(stderr, "%s\n", msg); in usage()
153 fprintf(stderr, in usage()
246 fprintf(stderr, "ERROR: need URL as argument\n"); in main()
256 fprintf(stderr, "out of memory\n"); in main()
260 fprintf(stderr, "not a URL: '%s'\n", url); in main()
264 fprintf(stderr, "could not get host of '%s'\n", url); in main()
268 fprintf(stderr, "could not get port of '%s'\n", url); in main()
316 fprintf(stderr, "INFO: no more handles running\n"); in main()
374 fprintf(stderr, "INFO: all transfers paused\n"); in main()
[all …]
H A Dtls-session-reuse.c61 FILE *output = stderr; in debug_cb()
150 fprintf(stderr, "curl_easy_init failed\n"); in add_transfer()
171 fprintf(stderr, "curl_multi_add_handle: %s\n", in add_transfer()
194 fprintf(stderr, "%s proto URL\n", argv[0]); in main()
206 fprintf(stderr, "out of memory\n"); in main()
210 fprintf(stderr, "not a URL: '%s'\n", url); in main()
229 fprintf(stderr, "curl_multi_init failed\n"); in main()
235 fprintf(stderr, "curl_share_init failed\n"); in main()
248 fprintf(stderr, "curl_multi_perform: %s\n", in main()
256 fprintf(stderr, "curl_multi_poll: %s\n", in main()
[all …]
H A Dh2-upgrade-extreme.c60 FILE *output = stderr; in debug_cb()
152 fprintf(stderr, "%s URL\n", argv[0]); in main()
159 fprintf(stderr, "curl_multi_init failed\n"); in main()
168 fprintf(stderr, "curl_easy_init failed\n"); in main()
190 fprintf(stderr, "curl_multi_add_handle: %s\n", in main()
199 fprintf(stderr, "curl_multi_perform: %s\n", in main()
207 fprintf(stderr, "curl_multi_poll: %s\n", in main()
227 fprintf(stderr, "transfer #%" CURL_FORMAT_CURL_OFF_T in main()
232 fprintf(stderr, "transfer #%" CURL_FORMAT_CURL_OFF_T in main()
243 fprintf(stderr, "running_handles=%d, yet_to_start=%d\n", in main()
[all …]
/curl/tests/libtest/
H A Dlib2301.c35 fprintf(stderr,
50 fprintf(stderr, "ws: got PONG back\n");
53 fprintf(stderr, "ws: got the same payload back\n");
58 fprintf(stderr, "ws: did NOT get the same payload back\n");
74 fprintf(stderr,
81 fprintf(stderr, "ws: websocket() starts\n");
107 fprintf(stderr, "%02x ", (unsigned char)buffer[i]); in writecb()
108 fprintf(stderr, "\n"); in writecb()
112 fprintf(stderr, "send back a simple PONG\n"); in writecb()
118 fprintf(stderr, "returns error from callback\n"); in writecb()
[all …]
H A Dlib518.c90 fprintf(stderr, "%s\n", msgbuff); in fopen_works()
136 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
184 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
192 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
233 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
262 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
284 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
297 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
320 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
389 fprintf(stderr, "%s\n", msgbuff); in test_rlimit()
[all …]
H A Dlib537.c88 fprintf(stderr, "%s\n", msgbuff); in fopen_works()
134 fprintf(stderr, "%s\n", msgbuff);
185 fprintf(stderr, "%s\n", msgbuff);
193 fprintf(stderr, "%s\n", msgbuff);
242 fprintf(stderr, "%s\n", msgbuff);
279 fprintf(stderr, "%s\n", msgbuff);
298 fprintf(stderr, "%s\n", msgbuff);
321 fprintf(stderr, "%s\n", msgbuff);
342 fprintf(stderr, "%s\n", strbuff);
400 fprintf(stderr, "%s\n", msgbuff);
[all …]
H A Dlib2304.c35 fprintf(stderr, in send_ping()
50 fprintf(stderr, "ws: got PONG back\n"); in recv_pong()
53 fprintf(stderr, "ws: got the same payload back\n"); in recv_pong()
58 fprintf(stderr, "ws: did NOT get the same payload back\n"); in recv_pong()
61 fprintf(stderr, "recv_pong: got %d bytes rflags %x\n", (int)rlen, in recv_pong()
79 fprintf(stderr, "recv_any: got %u bytes rflags %x\n", (int)rlen, in recv_any()
90 fprintf(stderr, in websocket_close()
97 fprintf(stderr, "ws: websocket() starts\n"); in websocket()
100 fprintf(stderr, "Send ping\n"); in websocket()
103 fprintf(stderr, "Receive pong\n"); in websocket()
[all …]
H A Dlib1536.c45 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
50 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
60 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test()
70 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
75 fprintf(stderr, "%s:%d scheme of http resource is incorrect; " in test()
88 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test()
96 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
101 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
115 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
120 fprintf(stderr, "%s:%d scheme init failed; expected NULL\n", in test()
H A Dlib541.c45 fprintf(stderr, "Usage: <url> <file-to-upload>\n"); in test()
51 fprintf(stderr, "fopen failed with error: %d %s\n", in test()
53 fprintf(stderr, "Error opening file: %s\n", libtest_arg2); in test()
61 fprintf(stderr, "fstat() failed with error: %d %s\n", in test()
63 fprintf(stderr, "ERROR: cannot open file %s\n", libtest_arg2); in test()
69 fprintf(stderr, "ERROR: file %s has zero size!\n", libtest_arg2); in test()
75 fprintf(stderr, "curl_global_init() failed\n"); in test()
83 fprintf(stderr, "curl_easy_init() failed\n"); in test()
H A Dlib1534.c45 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
50 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test()
61 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test()
71 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
76 fprintf(stderr, "%s:%d filetime of http resource is incorrect; " in test()
88 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test()
96 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
101 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test()
115 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
120 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n", in test()
H A Dlib1535.c47 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
52 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test()
62 fprintf(stderr, "%s:%d curl_easy_perform() failed with code %d (%s)\n", in test()
74 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
79 fprintf(stderr, "%s:%d protocol of http resource is incorrect; " in test()
91 fprintf(stderr, "%s:%d curl_easy_duphandle() failed\n", in test()
101 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
106 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test()
122 fprintf(stderr, "%s:%d curl_easy_getinfo() failed with code %d (%s)\n", in test()
127 fprintf(stderr, "%s:%d protocol init failed; expected 0 but is %ld\n", in test()
H A Dlib505.c53 fprintf(stderr, "Usage: <url> <file-to-upload>\n"); in test()
59 fprintf(stderr, "fopen failed with error: %d %s\n", in test()
61 fprintf(stderr, "Error opening file: %s\n", libtest_arg2); in test()
69 fprintf(stderr, "fstat() failed with error: %d %s\n", in test()
71 fprintf(stderr, "ERROR: cannot open file %s\n", libtest_arg2); in test()
77 fprintf(stderr, "ERROR: file %s has zero size!\n", libtest_arg2); in test()
83 fprintf(stderr, "curl_global_init() failed\n"); in test()
91 fprintf(stderr, "curl_easy_init() failed\n"); in test()
101 fprintf(stderr, "curl_slist_append() failed\n"); in test()
109 fprintf(stderr, "curl_slist_append() failed\n"); in test()
H A Dlib652.c46 fprintf(stderr, "curl_global_init() failed\n"); in test()
52 fprintf(stderr, "curl_easy_init() failed\n"); in test()
60 fprintf(stderr, "curl_mime_init() failed\n"); in test()
66 fprintf(stderr, "curl_mime_addpart() failed\n"); in test()
72 fprintf(stderr, "curl_mime_filename() failed\n"); in test()
77 fprintf(stderr, "curl_mime_type() failed\n"); in test()
82 fprintf(stderr, "curl_mime_data() failed\n"); in test()
87 fprintf(stderr, "curl_mime_encoder() failed\n"); in test()
94 fprintf(stderr, "curl_slist_append() failed\n"); in test()
H A Dlib666.c48 fprintf(stderr, "curl_global_init() failed\n"); in test()
54 fprintf(stderr, "curl_easy_init() failed\n"); in test()
62 fprintf(stderr, "curl_mime_init() failed\n"); in test()
68 fprintf(stderr, "curl_mime_addpart() failed\n"); in test()
74 fprintf(stderr, "curl_mime_name() failed\n"); in test()
79 fprintf(stderr, "curl_mime_filename() failed\n"); in test()
84 fprintf(stderr, "curl_mime_data() failed\n"); in test()
89 fprintf(stderr, "curl_mime_encoder() failed\n"); in test()
H A Dlib655.c39 fprintf(stderr, "Invalid test data received"); in resolver_alloc_cb_fail()
54 fprintf(stderr, "Invalid test data received"); in resolver_alloc_cb_pass()
67 fprintf(stderr, "curl_global_init() failed\n"); in test()
72 fprintf(stderr, "curl_easy_init() failed\n"); in test()
86 fprintf(stderr, "curl_easy_perform should have returned " in test()
98 fprintf(stderr, "curl_easy_perform failed.\n"); in test()
103 fprintf(stderr, "Unexpected number of callbacks: %d\n", cb_count); in test()
H A Dlib1592.c82 fprintf(stderr, in test()
97 fprintf(stderr, "curl_multi_perform()...\n"); in test()
99 fprintf(stderr, "curl_multi_perform() succeeded\n"); in test()
102 fprintf(stderr, "curl_multi_remove_handle()...\n"); in test()
106 fprintf(stderr, "curl_multi_remove_handle() failed, with code %d\n", mres); in test()
110 fprintf(stderr, "curl_multi_remove_handle() succeeded\n"); in test()
H A Dlib574.c34 fprintf(stderr, "lib574: match string '%s' against pattern '%s'\n", in new_fnmatch()
45 fprintf(stderr, "curl_global_init() failed\n"); in test()
51 fprintf(stderr, "curl_easy_init() failed\n"); in test()
63 fprintf(stderr, "curl_easy_perform() failed %d\n", res); in test()
68 fprintf(stderr, "curl_easy_perform() failed %d\n", res); in test()
H A Dlib583.c66 fprintf(stderr, "curl_multi_perform()...\n"); in test()
70 fprintf(stderr, "curl_multi_perform() succeeded\n"); in test()
72 fprintf(stderr, "curl_multi_remove_handle()...\n"); in test()
75 fprintf(stderr, "curl_multi_remove_handle() failed, " in test()
80 fprintf(stderr, "curl_multi_remove_handle() succeeded\n"); in test()
/curl/tests/unit/
H A Dcurlcheck.h30 fprintf(stderr, "%s:%d FAILED Assertion '%s' met: %s\n", \
39 fprintf(stderr, "%s:%d Assertion '%s' FAILED: %s\n", \
48 fprintf(stderr, "%s:%d Memory buffer FAILED match size %d. " \
51 fprintf(stderr, "%s:%d the same as '%s'\n", __FILE__, __LINE__, \
60 fprintf(stderr, "%s:%d test FAILED: '%s'\n", \
70 fprintf(stderr, "%s:%d ABORT assertion '%s' met: %s\n", \
80 fprintf(stderr, "%s:%d ABORT assertion '%s' failed: %s\n", \
89 fprintf(stderr, "%s:%d test ABORTED: '%s'\n", \
/curl/docs/examples/
H A Dsynctime.c147 fprintf(stderr, "%s", (char *)(ptr)); in SyncTime_CURL_WriteHeader()
151 fprintf(stderr, "HTTP Server. %s", (char *)(ptr)); in SyncTime_CURL_WriteHeader()
184 fprintf(stderr, "ERROR: HTTP Server data is cached." in SyncTime_CURL_WriteHeader()
232 fprintf(stderr, "Usage : SYNCTIME [Option]\n"); in showUsage()
233 fprintf(stderr, "Options :\n"); in showUsage()
239 fprintf(stderr, " --proxy-user=USER[:PASS] Set proxy username and" in showUsage()
241 fprintf(stderr, " --proxy=HOST[:PORT] Use HTTP proxy on given" in showUsage()
243 fprintf(stderr, " --help Print this help.\n"); in showUsage()
244 fprintf(stderr, "\n"); in showUsage()
339 fprintf(stderr, "Fetch: %s\n\n", conf->timeserver); in main()
[all …]
H A Dhttp2-serverpush.c53 fprintf(stderr, "%s, %lu bytes (0x%lx)\n", in dump()
58 fprintf(stderr, "%4.4lx: ", (unsigned long)i); in dump()
64 fprintf(stderr, "%02x ", ptr[i + c]); in dump()
66 fputs(" ", stderr); in dump()
76 fprintf(stderr, "%c", in dump()
85 fputc('\n', stderr); /* newline */ in dump()
99 fprintf(stderr, "== Info: %s", data); in my_trace()
182 fprintf(stderr, "Failed to create output file for push\n"); in server_push_callback()
194 fprintf(stderr, "**** header %lu: %s\n", (unsigned long)i, headp); in server_push_callback()
199 fprintf(stderr, "**** The PATH is %s\n", headp /* skip :path + colon */); in server_push_callback()
[all …]
/curl/docs/cmdline-opts/
H A Dstderr.md4 Long: stderr
6 Help: Where to redirect stderr
15 - --stderr output.txt $URL
18 # `--stderr`
20 Redirect all writes to stderr to the specified file instead. If the filename

Completed in 27 milliseconds

12345678910>>...17