We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6225c1 + 4a4c21b commit 2e2b3adCopy full SHA for 2e2b3ad
engines/http.c
@@ -526,8 +526,8 @@ static enum fio_q_status fio_http_queue(struct thread_data *td,
526
if (status == 100 || (status >= 200 && status <= 204))
527
goto out;
528
log_err("DDIR_WRITE failed with HTTP status code %ld\n", status);
529
- goto err;
530
}
+ goto err;
531
} else if (io_u->ddir == DDIR_READ) {
532
curl_easy_setopt(http->curl, CURLOPT_READDATA, NULL);
533
curl_easy_setopt(http->curl, CURLOPT_WRITEDATA, &_curl_stream);
0 commit comments