Commit graph

25 commits

Author SHA1 Message Date
Jack Robison 3234d70270
add peer address/port to hash blob writer 2019-04-24 09:48:04 -04:00
Jack Robison 676f0015aa
refactor BlobFile into AbstractBlob, BlobFile, and BlobBuffer classes 2019-04-24 09:48:04 -04:00
Victor Shyba b36c22e2f4 unban after 10 seconds, give up after 60 2019-02-18 17:16:10 -05:00
Victor Shyba 576da1bc30 do not keep trying when blob is being written 2019-02-15 21:20:06 -03:00
Victor Shyba 0a068011d8 fix chunked response parsing 2019-02-13 13:10:27 -05:00
Jack Robison 939edb2f18
logging
-call loop.set_debug when using --verbose
2019-02-08 16:06:38 -05:00
Victor Shyba 9ecec52412 check lock acquired to prevent races 2019-02-08 04:39:28 -03:00
Victor Shyba 8b25acff6e do not wait blob to be written, log errors from races 2019-02-08 04:32:53 -03:00
Victor Shyba 3352e0e4f4 score peers by speed 2019-02-08 03:08:08 -03:00
Victor Shyba 141d68a2cd fix write race condition 2019-02-08 02:39:29 -03:00
Victor Shyba c06ec6cd69 manage connections, reusing them when possible 2019-02-08 02:27:58 -03:00
Victor Shyba ad03f91d24 let cancelled errors flow 2019-02-08 01:03:13 -03:00
Victor Shyba 5586a226c2 bypass parser during download 2019-02-07 21:19:31 -03:00
Victor Shyba b82d2c3120 handle and log if downloading from bad sendfile implementations 2019-02-04 19:13:31 -03:00
Jack Robison 8883587cc7
logging 2019-02-04 16:19:27 -05:00
Jack Robison c85991704d
catch invalid data error 2019-02-04 16:19:27 -05:00
Jack Robison 2e9acd1baa
remove blob request asyncio.Lock 2019-01-31 20:19:50 -05:00
Jack Robison 40b90ce79b
fix hanging download 2019-01-31 16:53:27 -05:00
Jack Robison 2e978c00b2
prioritize peers to download from 2019-01-31 15:39:20 -05:00
Jack Robison 6aef6a80b7
refactor downloader
split peer accumulation out, use Queues instead of locks
2019-01-31 15:39:20 -05:00
Jack Robison 933d58d49b
logging 2019-01-29 20:47:02 -05:00
Jack Robison 418def56ac
fix log 2019-01-28 22:38:17 -05:00
Jack Robison 64dffa306f
logging, cleanup 2019-01-28 22:01:43 -05:00
Jack Robison 2a7d80f8b4
logging 2019-01-28 22:01:43 -05:00
Jack Robison 69b259c285 async lbrynet.blob_exchange 2019-01-24 00:13:15 -05:00