Lines Matching refs:hnd
74 CURL *hnd;
76 hnd = curl_easy_init();
77 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
78 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
79 curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "ab\201cd\000e\\\"\?\r\n\t\001fghi\x1ajklm\xfd");
80 curl_easy_setopt(hnd, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)24);
81 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/%VERSION");
82 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
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;