git-annex/Assistant
Joey Hess 9b98d3f630
better HTTP connection reuse
Enable HTTP connection reuse across multiple files, when git-annex
uses http-conduit. Before, a new Manager was created each time
Utility.Url used it. Now, a single Manager gets created the first time,
so connections are reused.

Doesn't help when external programs are used for url download,
but does speed up addurl --fast, fsck --from web, etc.

Testing fsck --fast --from web with 3 files, over high-latency
satellite internet, it sped up from 19.37s to 14.96s.

This commit was supported by the NSF-funded DataLad project.
2018-04-04 15:39:40 -04:00
..
Alert remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Install avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
Pairing avoid the dashed ssh hostname class of security holes 2017-08-17 22:11:31 -04:00
Threads fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Types first pass at assistant knowing about export remotes 2017-09-20 13:58:27 -04:00
WebApp better HTTP connection reuse 2018-04-04 15:39:40 -04:00
Alert.hs fix tricky warning with ghc 8 2016-11-15 18:51:07 -04:00
BranchChange.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Changes.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Commits.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
Common.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
CredPairCache.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DaemonStatus.hs first pass at assistant knowing about export remotes 2017-09-20 13:58:27 -04:00
DeleteRemote.hs AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Drop.hs add VerifiedCopy data type 2015-10-08 16:55:11 -04:00
Fsck.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
Gpg.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
Install.hs remove unused value 2017-10-30 12:36:43 -04:00
MakeRemote.hs Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
Monad.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
NamedThread.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
Pairing.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Pushes.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
RemoteControl.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Repair.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
RepoProblem.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Restart.hs better HTTP connection reuse 2018-04-04 15:39:40 -04:00
ScanRemotes.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Ssh.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Sync.hs assistant: update export db after mergeing git-annex branch changes 2017-09-20 16:34:29 -04:00
TransferQueue.hs first pass at assistant knowing about export remotes 2017-09-20 13:58:27 -04:00
TransferrerPool.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
TransferSlots.hs terminateProcessId renamed 2017-10-25 19:46:28 -04:00
Unused.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Upgrade.hs better HTTP connection reuse 2018-04-04 15:39:40 -04:00
WebApp.hs unified AuthToken type between webapp and tor 2016-11-22 14:18:34 -04:00