[Bug 1087543] Re: apt-get does not properly reuse connections with https
Launchpad Bug Tracker
1087543 at bugs.launchpad.net
Thu Aug 1 16:56:31 UTC 2013
This bug was fixed in the package apt - 0.8.16~exp12ubuntu10.12
---------------
apt (0.8.16~exp12ubuntu10.12) precise; urgency=low
* Add patch from Thomas Bushnell to make apt-get reuse https connections
(LP: #1087543)
-- Dave Chiluk <chiluk at canonical.com> Fri, 12 Jul 2013 12:16:26 -0500
** Changed in: apt (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1087543
Title:
apt-get does not properly reuse connections with https
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” source package in Precise:
Fix Released
Bug description:
[Impact]
* Apt does not re-use https connections. This results in a
significant performance hit.
* Additionally the hosts of mirrors are experiencing unnecessarily
high load due to this
[Test Case]
* Run apt-get -update using https connections. It will be noticably
slower in comparison to after this change
[Regression Potential]
* This fixes apt, by changing the way it uses curl, such that only
problematic error codes cause failure. But this may only happen if
the user is using https, http is not affected by this patch.
* Might result in zero length files, or updates not being downloaded
over https connectiosn.
* https connections hanging in the event that the above logic does
not correctly handle error cases.
[Other Info]
* There's only a slight chance to hit any regressions, as the above is mostly just thinking well outside of the box.
* This is already in Saucy.
* This is not imperative to be pulled into precise, but it would be
nice.
* This is really more of an enhancement than a bug fix.
* I have been using this patch for over 5 months now with no negative
side affects.
* I have been told that this patch has been deployed in a large
(multi-thousand install base) organization with no negative side
affects as well.
--------------------------------------------------------------------------------
When using an https: connection, apt-get does not properly reuse
connections. Because https setup costs can be quite high, this can
cause much slowdown when, for example, many different distributions on
the same server need to be checked.
I believe the attached patch addresses the difficulty.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1087543/+subscriptions
More information about the foundations-bugs
mailing list