Lines Matching refs:hnd
53 CURL *hnd; in test() local
62 hnd = curl_easy_init(); in test()
63 if(hnd) { in test()
64 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); in test()
65 curl_easy_setopt(hnd, CURLOPT_URL, URL); in test()
66 curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L); in test()
67 mime1 = curl_mime_init(hnd); in test()
73 curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime1); in test()
74 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/2000"); in test()
75 curl_easy_setopt(hnd, CURLOPT_FOLLOWLOCATION, 1L); in test()
76 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L); in test()
77 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, in test()
79 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); in test()
80 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L); in test()
81 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); in test()
82 res = curl_easy_perform(hnd); in test()
86 curl_easy_cleanup(hnd); in test()