/curl/tests/libtest/ |
H A D | lib661.c | 49 test_setopt(curl, CURLOPT_URL, newURL); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 59 test_setopt(curl, CURLOPT_URL, newURL); in test() 76 test_setopt(curl, CURLOPT_URL, newURL); in test() 77 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 87 test_setopt(curl, CURLOPT_URL, newURL); in test() 118 test_setopt(curl, CURLOPT_URL, URL); in test() 120 test_setopt(curl, CURLOPT_NOBODY, 1L); in test() 137 test_setopt(curl, CURLOPT_URL, URL); in test() 139 test_setopt(curl, CURLOPT_NOBODY, 1L); in test() [all …]
|
H A D | lib1525.c | 74 test_setopt(curl, CURLOPT_URL, URL); in test() 75 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 76 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 77 test_setopt(curl, CURLOPT_PROXYHEADER, hhl); in test() 79 test_setopt(curl, CURLOPT_POST, 0L); in test() 80 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 81 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 82 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 83 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 84 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test() [all …]
|
H A D | lib568.c | 67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_URL, URL); in test() 77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 93 test_setopt(curl, CURLOPT_READDATA, sdpf); in test() 94 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 103 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test() 141 test_setopt(curl, CURLOPT_POSTFIELDS, in test() 148 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test() [all …]
|
H A D | lib572.c | 68 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 69 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 72 test_setopt(curl, CURLOPT_URL, URL); in test() 80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 95 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 112 test_setopt(curl, CURLOPT_READDATA, paramsf); in test() 113 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 120 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test() 130 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
H A D | lib1526.c | 77 test_setopt(curl, CURLOPT_URL, URL); in test() 78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 80 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 82 test_setopt(curl, CURLOPT_POST, 0L); in test() 83 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 84 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 85 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 86 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 87 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test() [all …]
|
H A D | lib1527.c | 77 test_setopt(curl, CURLOPT_URL, URL); in test() 78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 80 test_setopt(curl, CURLOPT_POST, 0L); in test() 81 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 82 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 83 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 84 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 85 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test() 86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() [all …]
|
H A D | lib547.c | 95 test_setopt(curl, CURLOPT_URL, URL); in test() 96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 97 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 100 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS); in test() 105 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test() 107 test_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test() 108 test_setopt(curl, CURLOPT_READDATA, &counter); in test() 113 test_setopt(curl, CURLOPT_POST, 1L); in test() 114 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 115 test_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3); in test() [all …]
|
H A D | lib1938.c | 49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 50 test_setopt(curl, CURLOPT_POST, 1L); in test() 51 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test() 52 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test() 53 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 54 test_setopt(curl, CURLOPT_URL, URL); in test() 58 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test() 60 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 61 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test() 62 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)sizeof(data)); in test()
|
H A D | lib3100.c | 44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 48 test_setopt(curl, CURLOPT_URL, URL); in test() 49 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test() 51 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test() 52 test_setopt(curl, CURLOPT_USERNAME, "user"); in test() 53 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test() 54 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
|
H A D | lib598.c | 45 test_setopt(curl, CURLOPT_URL, URL); in test() 46 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 47 test_setopt(curl, CURLOPT_REFERER, "http://example.com/the-moo"); in test() 48 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation"); in test() 49 test_setopt(curl, CURLOPT_COOKIE, "name=moo"); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_URL, URL); in test() 61 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 62 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
|
H A D | lib1937.c | 48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 49 test_setopt(curl, CURLOPT_POST, 1L); in test() 50 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test() 51 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test() 52 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 53 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test() 59 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 60 test_setopt(curl, CURLOPT_POSTFIELDS, "postData"); in test()
|
H A D | lib3101.c | 44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 47 test_setopt(curl, CURLOPT_URL, URL); in test() 48 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test() 49 test_setopt(curl, CURLOPT_USERNAME, "user"); in test() 50 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test() 51 test_setopt(curl, CURLOPT_REDIR_PROTOCOLS_STR, "https"); in test()
|
H A D | lib570.c | 52 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 53 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 54 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 56 test_setopt(curl, CURLOPT_URL, URL); in test() 65 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 76 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L); in test() 77 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test() 79 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 94 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY); in test() [all …]
|
H A D | lib1970.c | 47 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 48 test_setopt(curl, CURLOPT_INFILESIZE, 0L); in test() 49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 50 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 51 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 52 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 53 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 61 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
H A D | lib567.c | 50 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 51 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 52 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 54 test_setopt(curl, CURLOPT_URL, URL); in test() 55 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test() 56 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test() 57 test_setopt(curl, CURLOPT_USERAGENT, "test567"); in test() 60 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
|
H A D | lib1971.c | 57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 62 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 63 test_setopt(curl, CURLOPT_URL, URL); in test() 67 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 71 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
H A D | lib1975.c | 57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 62 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 63 test_setopt(curl, CURLOPT_URL, URL); in test() 69 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 73 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
H A D | lib514.c | 46 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_POSTFIELDS, "moo"); in test() 58 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 3L); in test() 59 test_setopt(curl, CURLOPT_POST, 1L); in test() 64 test_setopt(curl, CURLOPT_NOBODY, 1L); in test() 66 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */ in test() 67 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */ in test()
|
H A D | lib1973.c | 47 test_setopt(curl, CURLOPT_POSTFIELDS, "post fields\n"); in test() 48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 49 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 50 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 51 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 52 test_setopt(curl, CURLOPT_URL, URL); in test() 56 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 60 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
H A D | lib1528.c | 56 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 58 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 59 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 60 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test() 61 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 62 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 63 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
H A D | lib3103.c | 40 test_setopt(curl, CURLOPT_SHARE, share); in test() 42 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 43 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 44 test_setopt(curl, CURLOPT_PROXY, URL); in test() 45 test_setopt(curl, CURLOPT_URL, "http://localhost/"); in test() 47 test_setopt(curl, CURLOPT_COOKIEFILE, ""); in test() 50 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: c1=v1; domain=localhost"); in test()
|
H A D | lib569.c | 65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 67 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 69 test_setopt(curl, CURLOPT_URL, URL); in test() 71 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 87 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 92 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test() 107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 111 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN); in test() [all …]
|
H A D | lib513.c | 55 test_setopt(curl, CURLOPT_URL, URL); in test() 58 test_setopt(curl, CURLOPT_POST, 1L); in test() 61 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 1L); in test() 64 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 67 test_setopt(curl, CURLOPT_READDATA, NULL); in test() 70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 73 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
H A D | lib578.c | 71 test_setopt(curl, CURLOPT_URL, URL); in test() 74 test_setopt(curl, CURLOPT_POST, 1L); in test() 77 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)data_size); in test() 78 test_setopt(curl, CURLOPT_POSTFIELDS, testdata); in test() 82 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test() 83 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); in test() 87 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 90 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
H A D | lib1934.c | 47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx:yyy"); in test() 49 test_setopt(curl, CURLOPT_USERPWD, "xxx:yyy"); in test() 50 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 51 test_setopt(curl, CURLOPT_URL, URL); in test() 55 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test() 57 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
|