DMR++ modules needs to fix 'string throws.'

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #ifdef CURLOPT_TCP_KEEPALIVE /* enable TCP keep-alive for this transfer */ if (CURLE_OK != (res = curl_easy_setopt(d_handle, CURLOPT_TCP_KEEPALIVE, 1L))) throw string("CURL Error: ").append(curl_easy_strerror(res)); #endif #ifdef CURLOPT_TCP_KEEPIDLE /* keep-alive idle time to 120 seconds */ if (CURLE_OK != (res = curl_easy_setopt(d_handle, CURLOPT_TCP_KEEPIDLE, 120L))) throw string("CURL Error: ").append(curl_easy_strerror(res)); #endif #ifdef CURLOPT_TCP_KEEPINTVL /* interval time between keep-alive probes: 120 seconds */ if (CURLE_OK != (res = curl_easy_setopt(d_handle, CURLOPT_TCP_KEEPINTVL, 120L))) throw string("CURL Error: ").append(curl_easy_strerror(res)); #endif

Environment

None

Status

Assignee

James Gallagher

Reporter

James Gallagher

Labels

None

Fix versions

Story Points

None

Epic Link

Priority

Highest
Configure