Project

General

Profile

Actions

Bug #5522

closed

rgw: use of select for waiting on curl sockets

Added by Yehuda Sadeh almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We should use curl_multi_wait() instead. Main issue is that this function only available in more recent libcurl packages (7.28.0).

Actions #1

Updated by Yehuda Sadeh almost 11 years ago

  • Priority changed from Normal to Urgent
  • Source changed from other to Development

Solution that we discussed is to modify code to use curl_multi_wait() and to provide backported packages for the relevant environments.

Actions #2

Updated by Ian Colle almost 11 years ago

  • Assignee set to Yehuda Sadeh
Actions #3

Updated by Yehuda Sadeh almost 11 years ago

  • Status changed from New to Resolved

We now use curl_multi_wait() when available. When it's not available we force a timeout to the select() so that we don't wait for events forever.

Actions

Also available in: Atom PDF