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://%HOSTIP:%HTTPPORT/we/want/1402");
78 curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "foo=bar&baz=quux");
79 curl_easy_setopt(hnd, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)16);
80 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
81 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
82 curl_easy_setopt(hnd, CURLOPT_HTTP09_ALLOWED, 1L);
83 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
84 curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L);
106 ret = curl_easy_perform(hnd);
108 curl_easy_cleanup(hnd);
109 hnd = NULL;