Lines Matching refs:ERROR_CHECK_SETOPT
176 #define ERROR_CHECK_SETOPT(x,y) \ macro
233 ERROR_CHECK_SETOPT(CURLOPT_URL, url); in dohprobe()
234 ERROR_CHECK_SETOPT(CURLOPT_WRITEFUNCTION, doh_write_cb); in dohprobe()
235 ERROR_CHECK_SETOPT(CURLOPT_WRITEDATA, resp); in dohprobe()
237 ERROR_CHECK_SETOPT(CURLOPT_POSTFIELDS, p->dohbuffer); in dohprobe()
238 ERROR_CHECK_SETOPT(CURLOPT_POSTFIELDSIZE, (long)p->dohlen); in dohprobe()
240 ERROR_CHECK_SETOPT(CURLOPT_HTTPHEADER, headers); in dohprobe()
242 ERROR_CHECK_SETOPT(CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS); in dohprobe()
246 ERROR_CHECK_SETOPT(CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); in dohprobe()
248 ERROR_CHECK_SETOPT(CURLOPT_TIMEOUT_MS, (long)timeout_ms); in dohprobe()
250 ERROR_CHECK_SETOPT(CURLOPT_VERBOSE, 1L); in dohprobe()
252 ERROR_CHECK_SETOPT(CURLOPT_NOSIGNAL, 1L); in dohprobe()
257 ERROR_CHECK_SETOPT(CURLOPT_SSL_FALSESTART, 1L); in dohprobe()
259 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYHOST, 2L); in dohprobe()
261 ERROR_CHECK_SETOPT(CURLOPT_PROXY_SSL_VERIFYHOST, 2L); in dohprobe()
263 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYPEER, 1L); in dohprobe()
265 ERROR_CHECK_SETOPT(CURLOPT_PROXY_SSL_VERIFYPEER, 1L); in dohprobe()
267 ERROR_CHECK_SETOPT(CURLOPT_SSL_VERIFYSTATUS, 1L); in dohprobe()
269 ERROR_CHECK_SETOPT(CURLOPT_CAINFO, in dohprobe()
273 ERROR_CHECK_SETOPT(CURLOPT_PROXY_CAINFO, in dohprobe()
277 ERROR_CHECK_SETOPT(CURLOPT_CAPATH, in dohprobe()
281 ERROR_CHECK_SETOPT(CURLOPT_PROXY_CAPATH, in dohprobe()
285 ERROR_CHECK_SETOPT(CURLOPT_CRLFILE, in dohprobe()
289 ERROR_CHECK_SETOPT(CURLOPT_PROXY_CRLFILE, in dohprobe()
293 ERROR_CHECK_SETOPT(CURLOPT_CERTINFO, 1L); in dohprobe()
295 ERROR_CHECK_SETOPT(CURLOPT_RANDOM_FILE, in dohprobe()
299 ERROR_CHECK_SETOPT(CURLOPT_EGDSOCKET, in dohprobe()
303 ERROR_CHECK_SETOPT(CURLOPT_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE); in dohprobe()
305 ERROR_CHECK_SETOPT(CURLOPT_PROXY_SSL_OPTIONS, CURLSSLOPT_NO_REVOKE); in dohprobe()
307 ERROR_CHECK_SETOPT(CURLOPT_SSL_CTX_FUNCTION, data->set.ssl.fsslctx); in dohprobe()
309 ERROR_CHECK_SETOPT(CURLOPT_SSL_CTX_DATA, data->set.ssl.fsslctxp); in dohprobe()