Commit graph

2836 commits

Author SHA1 Message Date
Jack Robison 9fd60c823f
add _download_failed errback 2017-09-28 15:28:37 -04:00
Jack Robison 82a2805aaf
json blobs 2017-09-28 15:28:06 -04:00
Jack Robison 50b51569a3
cancel streams on shutdown 2017-09-28 14:48:05 -04:00
Kay Kurokawa 89ebed570e
fix test_timeout in test_Downloader 2017-09-28 14:48:05 -04:00
Jack Robison d2b91d5f51
changelog 2017-09-28 14:48:01 -04:00
Jack Robison 81b584a35a
update tests and scripts 2017-09-28 14:04:03 -04:00
Jack Robison fa83a4f671
fix stop condition 2017-09-28 14:04:03 -04:00
Jack Robison c9ae251d60
download analytics 2017-09-28 14:04:03 -04:00
Jack Robison af99edc764
add get_host_downloaded_from 2017-09-28 14:04:03 -04:00
Jack Robison 9de4657a4d
fix blob history and callback from _download_succeeded
previously _download_succeeded did not block on blob_completed,
presumably because even longer ago it did not block on a deriving
immediate_announce call and thus took a long time to return
2017-09-28 14:04:02 -04:00
Jack Robison 250855d45d
stop failed downloader outside of GetStream 2017-09-28 14:04:02 -04:00
Jack Robison b0a3771ccf
better download errors 2017-09-28 14:04:02 -04:00
Alex Grintsvayg 42a141e7b7 contributing 2017-09-28 08:14:36 -04:00
Jack Robison df9cec66be
Bump version 0.17.0rc4 --> 0.17.0rc5
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-26 16:53:27 -04:00
Jack Robison 53456c61b8
Bump version 0.17.0rc3 --> 0.17.0rc4
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-25 19:11:10 -04:00
Jack Robison 8847e07f87
Bump version 0.17.0rc2 --> 0.17.0rc3
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-25 13:30:10 -04:00
Jack Robison 414c877502
changelog 2017-09-25 13:29:36 -04:00
Jack Robison c7e4a1a1be
Merge branch 'change_to_reflector_2' 2017-09-25 13:28:30 -04:00
Kay Kurokawa 0fc116fbdb Change to reflector2 in conf 2017-09-25 13:18:07 -04:00
Jack Robison d2de0911b3
Bump version 0.17.0rc1 --> 0.17.0rc2
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-22 14:57:32 -04:00
Jack Robison 43e4b3f7d4
Merge branch 'reflector_announce_rework' 2017-09-22 14:55:48 -04:00
Kay Kurokawa f835ef1be4
add changelog 2017-09-22 14:46:29 -04:00
Kay Kurokawa cc98cdf933
announce_head_blobs_only is True by default 2017-09-22 14:46:28 -04:00
Kay Kurokawa 4941d1d31d
test when you have a v1 blob reflect before a stream reflect over the same blobs 2017-09-22 14:46:28 -04:00
Jack Robison 4b8700268f
discover stream info for uploads via reflector v1 2017-09-22 14:46:23 -04:00
Kay Kurokawa 474ce21a51
add more tests in test_reflector, make sure stream info is not affected for blob client v1 2017-09-22 14:39:39 -04:00
Kay Kurokawa 9bf159433d
add changelog 2017-09-22 14:39:39 -04:00
Kay Kurokawa 4d5ba94a6e
add tests for checking stream info on reflector server 2017-09-22 14:39:37 -04:00
Kay Kurokawa 32feb628c3
add stream_info_manager to reflector server initialization 2017-09-22 14:39:29 -04:00
Kay Kurokawa 1a8e11ead3
work on reflector head blob announce only 2017-09-22 14:39:28 -04:00
Jack Robison 5503b0f290
Bump version 0.16.1 --> 0.17.0rc1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-09-22 14:38:57 -04:00
Jack Robison 24d1632faa
Merge branch 'blob-improvements' 2017-09-22 14:27:38 -04:00
Jack Robison 6cbe86d057
rename is_validated() to get_is_verified() to distinguish from verified property 2017-09-20 14:02:34 -04:00
Jack Robison dbb658adec
update changelog 2017-09-20 13:59:29 -04:00
Jack Robison ffbcd82263
fix redundant blob request to peer 2017-09-20 13:59:29 -04:00
Kay Kurokawa ab3c987034
fix lints 2017-09-20 13:59:28 -04:00
Jack Robison b6e9aa420c
fix cancelled blob request? 2017-09-20 13:59:28 -04:00
Kay Kurokawa e50ade85be
catch IOError properly 2017-09-20 13:59:28 -04:00
Kay Kurokawa ea49cddf52
catch IOError when writing 2017-09-20 13:59:28 -04:00
Jack Robison 85f25a8d99
remove debug logging 2017-09-20 13:59:27 -04:00
Jack Robison 19ff0941f5
fix ClientProtocol. _handle_response_error 2017-09-20 13:59:27 -04:00
Jack Robison adf89a9d1a
logging 2017-09-20 13:59:27 -04:00
Jack Robison 8419e1e1d5
change some ValueErrors to IOErrors 2017-09-20 13:59:26 -04:00
Jack Robison 421141b958
raise instead of assert 2017-09-20 13:59:26 -04:00
Jack Robison 96357ab833
exchange rate error 2017-09-20 13:59:26 -04:00
Jack Robison b9b5e755db
raise rather than assert 2017-09-20 13:59:26 -04:00
Jack Robison ad061b5ea3
use fixed BlobFile type 2017-09-20 13:59:25 -04:00
Kay Kurokawa 8d2cc4a4c0
lint, remove ununsed imports 2017-09-20 13:59:25 -04:00
Kay Kurokawa 3efefe8efd
use cryptography version 2.0.3 2017-09-20 13:59:25 -04:00
Kay Kurokawa af3ab96815
deleting unused BlobFile.finished_deferred 2017-09-20 13:59:25 -04:00