We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dcd8c09 + b793acf commit 80292f2Copy full SHA for 80292f2
1 file changed
http.c
@@ -282,7 +282,6 @@ static CURL *get_curl_handle(void)
282
#endif
283
if (ssl_cainfo != NULL)
284
curl_easy_setopt(result, CURLOPT_CAINFO, ssl_cainfo);
285
- curl_easy_setopt(result, CURLOPT_FAILONERROR, 1);
286
287
if (curl_low_speed_limit > 0 && curl_low_speed_time > 0) {
288
curl_easy_setopt(result, CURLOPT_LOW_SPEED_LIMIT,
@@ -506,6 +505,7 @@ struct active_request_slot *get_active_slot(void)
506
505
curl_easy_setopt(slot->curl, CURLOPT_POSTFIELDS, NULL);
507
curl_easy_setopt(slot->curl, CURLOPT_UPLOAD, 0);
508
curl_easy_setopt(slot->curl, CURLOPT_HTTPGET, 1);
+ curl_easy_setopt(slot->curl, CURLOPT_FAILONERROR, 1);
509
if (http_auth.password)
510
init_curl_http_auth(slot->curl);
511
0 commit comments