Uploaded image for project: 'Hyrax-Kanban'
  1. HK-1

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

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Hyrax 1.15.1
    • Labels:
      None

      Description

      #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
      

        Attachments

          Activity

            People

            • Assignee:
              jimg James Gallagher
              Reporter:
              jimg James Gallagher
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: