• Home
  • Raw
  • Download

Lines Matching refs:curl

133   CURL *curl;  in fire()  local
135 curl = curl_easy_init(); in fire()
136 if(!curl) { in fire()
142 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in fire()
143 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); in fire()
144 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); in fire()
145 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, ""); in fire()
147 curl_easy_setopt(curl, CURLOPT_SHARE, tdata->share); in fire()
150 code = curl_easy_perform(curl); in fire()
158 curl_easy_cleanup(curl); in fire()
180 CURL *curl; in test() local
235 curl = curl_easy_init(); in test()
236 if(!curl) { in test()
243 test_setopt(curl, CURLOPT_SHARE, share); in test()
245 test_setopt(curl, CURLOPT_COOKIELIST, in test()
249 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); in test()
251 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants"); in test()
253 test_setopt(curl, CURLOPT_COOKIELIST, in test()
257 test_setopt(curl, CURLOPT_COOKIELIST, "SESS"); in test()
259 curl_easy_cleanup(curl); in test()
281 curl = curl_easy_init(); in test()
282 if(!curl) { in test()
291 test_setopt(curl, CURLOPT_HTTPHEADER, headers); in test()
292 test_setopt(curl, CURLOPT_URL, url); in test()
294 test_setopt(curl, CURLOPT_SHARE, share); in test()
296 test_setopt(curl, CURLOPT_COOKIEJAR, JAR); in test()
298 test_setopt(curl, CURLOPT_COOKIELIST, "FLUSH"); in test()
301 curl_easy_perform(curl); in test()
304 curl_easy_cleanup(curl); in test()
309 curl = curl_easy_init(); in test()
310 if(!curl) { in test()
318 test_setopt(curl, CURLOPT_HTTPHEADER, headers); in test()
319 test_setopt(curl, CURLOPT_URL, url); in test()
321 test_setopt(curl, CURLOPT_SHARE, share); in test()
323 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); in test()
325 test_setopt(curl, CURLOPT_COOKIEFILE, JAR); in test()
327 test_setopt(curl, CURLOPT_COOKIELIST, "RELOAD"); in test()
329 code = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); in test()
365 curl_easy_cleanup(curl); in test()