git-annex/Utility
Joey Hess 759fd9ea68
avoid url resume from 0
When downloading an url and the destination file exists but is empty,
avoid using http range to resume, since a range "bytes=0-" is an unusual
edge case that it's best to avoid relying on working.

This is known to fix a case where importfeed downloaded a partial feed from
such a server. Since importfeed uses withTmpFile, the destination always exists
empty, so it would particularly tickle such problem servers. Resuming from 0
is otherwise possible, but unlikely.
2019-06-20 12:26:17 -04:00
..
Directory add streamDirectoryContents 2018-04-26 13:38:36 -04:00
DirWatcher import Utility.FileSystemEncoding in Common 2019-01-03 11:37:02 -04:00
Env fix windows build 2018-01-04 14:23:11 -04:00
LockFile strict bytestring encoders and decoders 2019-01-01 14:55:15 -04:00
LockPool add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Path finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Process fixed processTranscript hang problem 2018-03-15 16:14:22 -04:00
Scheduled
Tmp avoid conflicting definitions of Template type 2018-12-30 15:03:31 -04:00
Aeson.hs switch MetaValue to ByteString and MetaField to Text 2019-01-07 14:18:24 -04:00
Android.hs avoid unused imports warning on non-linux 2018-08-07 15:06:33 -04:00
Applicative.hs
AuthToken.hs comment typo 2019-01-03 00:22:05 -04:00
Base64.hs switch MetaValue to ByteString and MetaField to Text 2019-01-07 14:18:24 -04:00
Batch.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Bloom.hs
CoProcess.hs
CopyFile.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Daemon.hs
Data.hs
DataUnits.hs
DBus.hs
DebugLocks.hs add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Directory.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
DirWatcher.hs
DiskFree.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Dot.hs
DottedVersion.hs
Env.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Exception.hs removed the old Android app 2018-10-13 01:41:11 -04:00
FileMode.hs Make test suite work better when the temp directory is on NFS. 2018-12-19 12:44:56 -04:00
FileSize.hs
FileSystemEncoding.hs slight optimisation more 2019-01-11 19:56:31 -04:00
Format.hs
FreeDesktop.hs
Glob.hs
Gpg.hs relocate gpg test framework temp dir to outside repo 2019-01-21 14:16:00 -04:00
Hash.hs Revert "cache the serialization of a Key" 2019-01-16 16:21:59 -04:00
HtmlDetect.hs
HttpManagerRestricted.hs add back support for ftp urls 2019-05-30 14:51:34 -04:00
HumanNumber.hs
HumanTime.hs Estimated time to completion display shortened from eg "1h1m1s" to "1h1m" 2019-01-21 00:04:35 -04:00
InodeCache.hs use attoparsec parser for String parsing, 10x speedup 2019-01-02 13:28:44 -04:00
IPAddress.hs add back support for ftp urls 2019-05-30 14:51:34 -04:00
libkqueue.c
libkqueue.h
LinuxMkLibs.hs
LockFile.hs
LockPool.hs
LogFile.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Lsof.hs removed the old Android app 2018-10-13 01:41:11 -04:00
MagicWormhole.hs fix p2p --pair 2018-07-04 15:14:03 -04:00
Matcher.hs avoid list lookup by parseToken 2019-05-14 13:11:29 -04:00
Metered.hs import Utility.FileSystemEncoding in Common 2019-01-03 11:37:02 -04:00
Misc.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Monad.hs
Mounts.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Network.hs
NotificationBroadcaster.hs
OptParse.hs
OSX.hs
Parallel.hs
PartialPrelude.hs moved module and relicensed 2018-10-29 23:13:36 -04:00
Path.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Percentage.hs
PID.hs
Process.hs fix bogus ghc 8.6.3 build warning 2018-12-30 14:43:27 -04:00
QuickCheck.hs squelch build warning with old version of quickcheck 2019-05-03 11:02:12 -04:00
RawFilePath.hs use ByteStrings when reading annex symlinks and pointers 2019-01-14 15:37:08 -04:00
Rsync.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
SafeCommand.hs Revert "fix comment" 2018-11-06 17:26:20 -04:00
Scheduled.hs add dropFromEnd 2018-11-23 11:24:05 -04:00
Shell.hs removed the old Android app 2018-10-13 01:41:11 -04:00
SimpleProtocol.hs clean P2P protocol shutdown on EOF 2018-09-13 10:46:37 -04:00
Split.hs add dropFromEnd 2018-11-23 11:24:05 -04:00
SshConfig.hs
SshHost.hs
Su.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
SystemDirectory.hs
Tense.hs
ThreadLock.hs
ThreadScheduler.hs removed the old Android app 2018-10-13 01:41:11 -04:00
TimeStamp.hs use attoparsec parser for String parsing, 10x speedup 2019-01-02 13:28:44 -04:00
TList.hs
Tmp.hs use relatedTempate in viaTmp 2019-03-04 14:12:00 -04:00
Tor.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Touch.hs remove unused import 2018-10-30 13:38:29 -04:00
Tuple.hs
Url.hs avoid url resume from 0 2019-06-20 12:26:17 -04:00
UserInfo.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Verifiable.hs
WebApp.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Yesod.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00