Lines Matching refs:hnd
73 CURL *hnd;
75 hnd = curl_easy_init();
76 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
77 curl_easy_setopt(hnd, CURLOPT_URL, "http://moo/");
78 curl_easy_setopt(hnd, CURLOPT_PROXY, "http://%HOSTIP:%HTTPPORT");
79 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
80 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
81 …curl_easy_setopt(hnd, CURLOPT_SSLVERSION, (long)(CURL_SSLVERSION_DEFAULT | CURL_SSLVERSION_MAX_TLS…
82 …curl_easy_setopt(hnd, CURLOPT_PROXY_SSLVERSION, (long)(CURL_SSLVERSION_TLSv1 | CURL_SSLVERSION_MAX…
83 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
85 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
87 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
108 ret = curl_easy_perform(hnd);
110 curl_easy_cleanup(hnd);
111 hnd = NULL;