Added a short timeout for downloads, after which we try the mirror.
commit8049a1d2a111273636bf8206062b3c17f9c00116
authorThomas Leonard <talex5@gmail.com>
Sun, 20 Apr 2008 19:49:24 +0000 (20 20:49 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 20 Apr 2008 20:03:08 +0000 (20 21:03 +0100)
treeb04c43ec0befe128769150d5bd2bd2a3ce0d4832
parentc60e770c9cd05b522ea0d3068f717ee905de6a0f
Added a short timeout for downloads, after which we try the mirror.

After 5 seconds, we run both downloads in parallel and use whichever
returns a complete file first.
tests/testdownload.py
zeroinstall/injector/fetch.py
zeroinstall/injector/handler.py