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)
282282#endif
283283 if (ssl_cainfo != NULL )
284284 curl_easy_setopt (result , CURLOPT_CAINFO , ssl_cainfo );
285- curl_easy_setopt (result , CURLOPT_FAILONERROR , 1 );
286285
287286 if (curl_low_speed_limit > 0 && curl_low_speed_time > 0 ) {
288287 curl_easy_setopt (result , CURLOPT_LOW_SPEED_LIMIT ,
@@ -506,6 +505,7 @@ struct active_request_slot *get_active_slot(void)
506505 curl_easy_setopt (slot -> curl , CURLOPT_POSTFIELDS , NULL );
507506 curl_easy_setopt (slot -> curl , CURLOPT_UPLOAD , 0 );
508507 curl_easy_setopt (slot -> curl , CURLOPT_HTTPGET , 1 );
508+ curl_easy_setopt (slot -> curl , CURLOPT_FAILONERROR , 1 );
509509 if (http_auth .password )
510510 init_curl_http_auth (slot -> curl );
511511
You can’t perform that action at this time.
0 commit comments