Bug 1669156

Summary: connection re-use does not work for SCP and SFTP
Product: Red Hat Enterprise Linux 8 Reporter: Kamil Dudka <kdudka>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0CC: drusek, kdudka
Target Milestone: rcKeywords: Patch
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: curl-7.61.1-9.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:40:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1681019    
Bug Blocks:    

Description Kamil Dudka 2019-01-24 13:43:52 UTC
Version-Release number of selected component (if applicable):
curl-7.61.1-8.el8


How reproducible:
Easily.


Steps to Reproduce:
1. Perform two or more subsequent SCP or SFTP requests that satisfy the conditions for connection re-use.


Actual results:
(lib)curl repeatedly connects to server before each request is performed.


Expected results:
Existing connections are re-used.


Additional info:
https://github.com/curl/curl/issues/3491


Upstream commit:
https://github.com/curl/curl/commit/curl-7_63_0-106-g15c94b310

Comment 1 Kamil Dudka 2019-02-18 17:49:55 UTC
fixed in curl-7.61.1-10.fc29

Comment 11 errata-xmlrpc 2019-11-05 22:40:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3701