Lines Matching refs:ERROR_CHECK_SETOPT

241 #define ERROR_CHECK_SETOPT(x,y)                         \  macro
285 ERROR_CHECK_SETOPT(CURLOPT_URL, url); in doh_run_probe()
286 ERROR_CHECK_SETOPT(CURLOPT_DEFAULT_PROTOCOL, "https"); in doh_run_probe()
287 ERROR_CHECK_SETOPT(CURLOPT_WRITEFUNCTION, doh_write_cb); in doh_run_probe()
288 ERROR_CHECK_SETOPT(CURLOPT_WRITEDATA, &p->resp_body); in doh_run_probe()
289 ERROR_CHECK_SETOPT(CURLOPT_POSTFIELDS, p->req_body); in doh_run_probe()
290 ERROR_CHECK_SETOPT(CURLOPT_POSTFIELDSIZE, (long)p->req_body_len); in doh_run_probe()
291 ERROR_CHECK_SETOPT(CURLOPT_HTTPHEADER, headers); in doh_run_probe()
293 ERROR_CHECK_SETOPT(CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS); in doh_run_probe()
294 ERROR_CHECK_SETOPT(CURLOPT_PIPEWAIT, 1L); in doh_run_probe()
298 ERROR_CHECK_SETOPT(CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); in doh_run_probe()
301 ERROR_CHECK_SETOPT(CURLOPT_PROTOCOLS, CURLPROTO_HTTP|CURLPROTO_HTTPS); in doh_run_probe()
303 ERROR_CHECK_SETOPT(CURLOPT_TIMEOUT_MS, (long)timeout_ms); in doh_run_probe()
304 ERROR_CHECK_SETOPT(CURLOPT_SHARE, (CURLSH *)data->share); in doh_run_probe()
306 ERROR_CHECK_SETOPT(CURLOPT_STDERR, data->set.err); in doh_run_probe()
308 ERROR_CHECK_SETOPT(CURLOPT_VERBOSE, 1L); in doh_run_probe()
310 ERROR_CHECK_SETOPT(CURLOPT_NOSIGNAL, 1L); in doh_run_probe()
312 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYHOST, in doh_run_probe()
314 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYPEER, in doh_run_probe()
316 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYSTATUS, in doh_run_probe()
328 ERROR_CHECK_SETOPT(CURLOPT_SSL_FALSESTART, 1L); in doh_run_probe()
330 ERROR_CHECK_SETOPT(CURLOPT_CAINFO, in doh_run_probe()
334 ERROR_CHECK_SETOPT(CURLOPT_CAINFO_BLOB, in doh_run_probe()
338 ERROR_CHECK_SETOPT(CURLOPT_CAPATH, in doh_run_probe()
342 ERROR_CHECK_SETOPT(CURLOPT_CRLFILE, in doh_run_probe()
346 ERROR_CHECK_SETOPT(CURLOPT_CERTINFO, 1L); in doh_run_probe()
348 ERROR_CHECK_SETOPT(CURLOPT_SSL_CTX_FUNCTION, data->set.ssl.fsslctx); in doh_run_probe()
350 ERROR_CHECK_SETOPT(CURLOPT_SSL_CTX_DATA, data->set.ssl.fsslctxp); in doh_run_probe()
352 ERROR_CHECK_SETOPT(CURLOPT_DEBUGFUNCTION, data->set.fdebug); in doh_run_probe()
354 ERROR_CHECK_SETOPT(CURLOPT_DEBUGDATA, data->set.debugdata); in doh_run_probe()
356 ERROR_CHECK_SETOPT(CURLOPT_SSL_EC_CURVES, in doh_run_probe()