Jack Robison
|
d80c671cf2
|
look victor
|
2019-05-06 18:46:26 -04:00 |
|
Victor Shyba
|
cf7bb6a391
|
fix tests and stream being deleted on data timeout
|
2019-05-02 16:41:48 -03:00 |
|
Victor Shyba
|
68d7328918
|
always close the write handle
|
2019-05-02 12:20:49 -03:00 |
|
Victor Shyba
|
ff2985cc80
|
close protocol if transport reuse brings responses before requests
|
2019-05-02 12:13:33 -03:00 |
|
Victor Shyba
|
ac69fcbc5f
|
fix possible division by zero
|
2019-05-02 11:52:09 -03:00 |
|
Victor Shyba
|
609cf42868
|
cleanup downloader code
|
2019-05-01 18:04:45 -03:00 |
|
Victor Shyba
|
60f7766cf7
|
small adjustment to new_peer_or_finished
|
2019-05-01 02:55:51 -03:00 |
|
Victor Shyba
|
63bd983012
|
pylint
|
2019-05-01 00:42:51 -03:00 |
|
Victor Shyba
|
ac6835fa60
|
dont get stuck
|
2019-04-30 19:51:02 -03:00 |
|
Victor Shyba
|
3cf5c536c0
|
improve ban timing and downloader loop friction
|
2019-04-30 17:56:29 -03:00 |
|
Jack Robison
|
7ba433c2e5
|
fix setting blob verified event and canceling blob writers
-raise OSError if multiple writers for one peer are opened for a blob
|
2019-04-24 09:48:04 -04:00 |
|
Jack Robison
|
3234d70270
|
add peer address/port to hash blob writer
|
2019-04-24 09:48:04 -04:00 |
|
Jack Robison
|
e2663f6d57
|
remove unnecessary except/raise
|
2019-04-24 09:48:04 -04:00 |
|
Jack Robison
|
119e0ec408
|
cancelled error
|
2019-04-24 09:48:04 -04:00 |
|
Jack Robison
|
c663e5a3cf
|
add cache_concurrent decorator
|
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 |
|
Jack Robison
|
b230d8fbcb
|
rename BlobFileManager -> BlobManager
|
2019-04-24 09:48:04 -04:00 |
|
Victor Shyba
|
2d8ebe25ed
|
refactor so we can stop trapping CancelledError everywhere
|
2019-02-26 17:42:45 -05: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
|
af1619ebfb
|
disable race limiting for now
|
2019-02-08 03:32:38 -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
|
1be5dce30e
|
stop racing during long streams
|
2019-02-08 01:28:03 -03:00 |
|
Victor Shyba
|
2d7eb83518
|
change score calculation, wait for active peers too, simplify peer sorting/keeping
|
2019-02-08 01:04:38 -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
|
a616582733
|
wait on connection tasks
|
2019-02-07 20:11:57 -03:00 |
|
Jack Robison
|
0e972ec2ae
|
refactor BlobFile.close to be non async
|
2019-02-06 11:00:57 -05: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
|
377442d9f0
|
fix request_blob cancellation
|
2019-02-04 16:19:24 -05:00 |
|
Jack Robison
|
c3b0151943
|
fix dht status error during startup
|
2019-02-01 22:12:07 -05:00 |
|
Jack Robison
|
c7cb6822cc
|
logging
|
2019-02-01 21:28:59 -05:00 |
|
Victor Shyba
|
40da5b6cb6
|
rework data parser
|
2019-02-01 20:09:14 -03:00 |
|
Victor Shyba
|
b36cf3e36c
|
remove closing peers from active connections
|
2019-02-01 20:09:14 -03:00 |
|
Jack Robison
|
0a08f445a4
|
close blob server transport on sendfile failing
|
2019-02-01 15:11:37 -05:00 |
|
Victor Shyba
|
832be0758b
|
let cancel propagate
|
2019-02-01 16:05:14 -03: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
|
aa7f0845cc
|
catch sendfile errors
|
2019-01-31 16:10:27 -05:00 |
|
Jack Robison
|
34776e7eb9
|
fix test
|
2019-01-31 15:39:20 -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 |
|