It appears CURLOPT_TIMEOUT isn't proper to use here, as indeed it times
out in 120s regardless of the connection state.  The fact the connection
doesn't resume seems to be another issue, but I have attached a small
patch that fixes the timeout issue.  It sets the minimum transfer speed
to 1bs, and uses the timeout of 120s only if < 1bs is being transferred.

** Attachment added: "https.cc.diff"
   http://launchpadlibrarian.net/30013030/https.cc.diff

-- 
apt-transport-https: large packages timeout after 120s, even while progress is 
being made
https://bugs.launchpad.net/bugs/354972
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to