RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1563130 - curl_easy_pause inefficiency before version 7.32.0
Summary: curl_easy_pause inefficiency before version 7.32.0
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: curl
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-03 08:27 UTC by Ankur deDev
Modified: 2020-11-06 17:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-06 17:14:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ankur deDev 2018-04-03 08:27:16 UTC
From the following page
https://curl.haxx.se/libcurl/c/curl_easy_pause.html

"Before libcurl 7.32.0, when a specific handle was unpaused with this function, there was no particular forced rechecking or similar of the socket's state, which made the continuation of the transfer get delayed until next multi-socket call invoke or even longer. Alternatively, the user could forcibly call for example curl_multi_socket_all - with a rather hefty performance penalty.

Starting in libcurl 7.32.0, unpausing a transfer will schedule a timeout trigger for that handle 1 millisecond into the future, so that a curl_multi_socket_action( ... CURL_SOCKET_TIMEOUT) can be used immediately afterwards to get the transfer going again as desired."

From the above, the version 7.32.0 seems to bring a fix without changing the interface. The version of libcurl in RHEL 7.4 is 7.29.0, would it be possible to bring that fix in this version?

Thanks

Comment 2 Kamil Dudka 2018-04-05 12:59:51 UTC
I am afraid that this improvement comes with an observable change in behavior, which could trigger bugs in 3rd party code that relies on the current behavior.

We need to have a good business justification for including this in a minor update of RHEL-7.  If you are a customer of Red Hat, please contact Product Support and tell them about this bug.

Comment 4 Kamil Dudka 2020-11-06 17:14:05 UTC
It is too late to fix this in RHEL-7.  The bug in question is fixed in RHEL-8 though.  Closing NEXTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.