Lines Matching refs:curl_easy_setopt
165 curl_easy_setopt( e, CURLOPT_AUTOREFERER, 1L );
166 curl_easy_setopt( e, CURLOPT_COOKIEFILE, web->cookie_filename );
167 curl_easy_setopt( e, CURLOPT_ENCODING, "gzip;q=1.0, deflate, identity" );
168 curl_easy_setopt( e, CURLOPT_FOLLOWLOCATION, 1L );
169 curl_easy_setopt( e, CURLOPT_MAXREDIRS, -1L );
170 curl_easy_setopt( e, CURLOPT_NOSIGNAL, 1L );
171 curl_easy_setopt( e, CURLOPT_PRIVATE, task );
173 curl_easy_setopt( e, CURLOPT_SOCKOPTFUNCTION, sockoptfunction );
174 curl_easy_setopt( e, CURLOPT_SOCKOPTDATA, task );
177 curl_easy_setopt( e, CURLOPT_CAINFO, web->curl_ca_bundle );
179 curl_easy_setopt( e, CURLOPT_SSL_VERIFYHOST, 0L );
180 curl_easy_setopt( e, CURLOPT_SSL_VERIFYPEER, 0L );
182 curl_easy_setopt( e, CURLOPT_TIMEOUT, task->timeout_secs );
183 curl_easy_setopt( e, CURLOPT_URL, task->url );
184 curl_easy_setopt( e, CURLOPT_USERAGENT, TR_NAME "/" SHORT_VERSION_STRING );
185 curl_easy_setopt( e, CURLOPT_VERBOSE, (long)(web->curl_verbose?1:0) );
186 curl_easy_setopt( e, CURLOPT_WRITEDATA, task );
187 curl_easy_setopt( e, CURLOPT_WRITEFUNCTION, writeFunc );
190 curl_easy_setopt( e, CURLOPT_INTERFACE, tr_address_to_string( addr ) );
192 curl_easy_setopt( e, CURLOPT_INTERFACE, tr_address_to_string( addr ) );
195 curl_easy_setopt( e, CURLOPT_COOKIE, task->cookies );
198 curl_easy_setopt( e, CURLOPT_RANGE, task->range );
200 curl_easy_setopt( e, CURLOPT_ENCODING, "identity" );