File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,6 @@ static CURL *get_curl_handle(void)
282
282
#endif
283
283
if (ssl_cainfo != NULL )
284
284
curl_easy_setopt (result , CURLOPT_CAINFO , ssl_cainfo );
285
- curl_easy_setopt (result , CURLOPT_FAILONERROR , 1 );
286
285
287
286
if (curl_low_speed_limit > 0 && curl_low_speed_time > 0 ) {
288
287
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
506
curl_easy_setopt (slot -> curl , CURLOPT_UPLOAD , 0 );
508
507
curl_easy_setopt (slot -> curl , CURLOPT_HTTPGET , 1 );
508
+ curl_easy_setopt (slot -> curl , CURLOPT_FAILONERROR , 1 );
509
509
if (http_auth .password )
510
510
init_curl_http_auth (slot -> curl );
511
511
You can’t perform that action at this time.
0 commit comments