Skip to content

Commit

Permalink
rgw: avoid returning CURL_READFUNC_PAUSE forever
Browse files Browse the repository at this point in the history
Signed-off-by: Chang Liu <[email protected]>
  • Loading branch information
liuchang0812 authored and yehudasa committed Apr 10, 2018
1 parent b44b2e9 commit f63e39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_http_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ size_t RGWHTTPClient::send_http_data(void * const ptr,
return 0;
}

bool pause;
bool pause = false;

int ret = req_data->client->send_data(ptr, size * nmemb, &pause);
if (ret < 0) {
Expand Down

0 comments on commit f63e39d

Please sign in to comment.