Project

General

Profile

Bug #5522

rgw: use of select for waiting on curl sockets

Added by Yehuda Sadeh over 10 years ago. Updated over 10 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
No
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).

History

#1 Updated by Yehuda Sadeh over 10 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.

#2 Updated by Ian Colle over 10 years ago

  • Assignee set to Yehuda Sadeh

#3 Updated by Yehuda Sadeh over 10 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.

Also available in: Atom PDF