curl handles EINTR wrong

Bug #1375663 reported by Grzegorz Gutowski on 2014-09-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curl (Ubuntu)
Brian Murray

Bug Description

Our application using libcurl for http communication was behaving awkward and after thorough investigation we found that in some cases it doesn't retry a poll after EINTR. Later we found, that this is a bug in libcurl and that it was repaired in this upstream patch:

# lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
# apt-cache policy curl
  Installed: 7.35.0-1ubuntu2.1
  Candidate: 7.35.0-1ubuntu2.1

Grzegorz Gutowski (gzegzol) wrote :

The attachment "fix_timeout_return_value.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in curl (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package curl - 7.37.1-1ubuntu3

curl (7.37.1-1ubuntu3) utopic; urgency=medium

  * debian/patches/09_fix-timeout-in-poll-and-wait.patch: apply upstream
    commit fixing timeout return value for curl_poll and curl_wait_ms.
    Thanks to Grzegorz Gutowski for finding the patch. (LP: #1375663)
 -- Brian Murray <email address hidden> Thu, 02 Oct 2014 13:26:57 -0700

Changed in curl (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers