Kay Kurokawa
1a8e11ead3
work on reflector head blob announce only
2017-09-22 14:39:28 -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
Kay Kurokawa
e92321a9c1
have BlobFile.open_for_writing() return the writer instead of write and close functions
2017-09-20 13:59:23 -04:00
Kay Kurokawa
98f90a4ad6
fixing minor debugging bug
2017-03-08 15:32:00 -05:00
jobevers
9e2cda0cdc
remove more upload_allowed arguments
2017-02-15 06:48:58 -06:00
jobevers
4fb5e932e6
fix indentation
2017-02-15 06:48:58 -06:00
Job Evers-Meltzer
a38e5c855e
Remove upload_allowed attribute
...
This is unused and largely pulluting the argument list
of too many functions.
2017-02-15 06:48:50 -06:00
Jack Robison
6fae07d29e
reflector v2
...
-add {‘sd_blob_hash’: …, ‘sd_blob_size ‘: …} query type with
{‘send_sd_blob’: True/False, ‘needed_blobs’: []} response
this allows the reflector client to know how much of a stream reflector
already has covered, as to minimize the number of subsequent requests
and prevent streams from being partially reflected
-remove empty {} request
2017-02-06 15:55:46 -05:00
Job Evers-Meltzer
c30ea04959
Remove commented code
...
This is the result of running eradicate (https://github.com/myint/eradicate )
on the code and double-checking the changes.
2016-12-15 18:58:06 -06:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Job Evers-Meltzer
61a354fa60
add bad-whitespace check to pylint
2016-11-09 11:27:07 -06:00
Jack
b235f6fc6b
send all blobs to reflector
2016-08-26 19:58:53 -04:00
Jack
3d92413372
debug logging
2016-08-20 23:47:41 -04:00
Jack
5022ed2acc
blob_completed before moving to next one
...
otherwise blob files download to the blobfiles directory, but they are
never recorded in blobs.db
2016-08-20 23:47:12 -04:00
Jack
7a54894015
debugging stuff
2016-08-19 02:41:23 -04:00
Jack
8e7b8af180
call blob_completed when is_validated is true
2016-08-18 06:23:27 -04:00
Jack
c046cd02d5
call blob_completed after receiving blob
2016-08-18 05:58:13 -04:00
Jack
f5508fcdf1
typo
2016-08-18 05:36:17 -04:00
Job Evers-Meltzer
c7430f4ae9
better more logging on the server side
2016-08-11 05:25:45 +00:00
Job Evers-Meltzer
623fda3087
improve logging
2016-08-11 05:16:50 +00:00
Job Evers-Meltzer
80f27f2b29
Revert "more logging on the server side"
...
This reverts commit f83daa5a22
.
2016-08-11 05:11:18 +00:00
Job Evers-Meltzer
f83daa5a22
more logging on the server side
2016-08-11 04:45:25 +00:00
Jack
3fb4831804
raise exception when curr_pos > 100 and json fails to decode
2016-08-10 02:30:41 -04:00
Jack
b65570fb16
drop connection on response longer than 100 bytes that can't' be decoded
2016-08-09 19:53:13 -04:00
Jimmy Kiselak
7e2ad58edd
get reflector client and server working; add func test to prove it
2016-08-09 00:59:50 -04:00
Jimmy Kiselak
b7e2e87ac1
fill in much of the skeleton for the reflector protocol
2016-08-07 22:33:40 -04:00
Jimmy Kiselak
191f661b35
skeleton for reflector protocol
2016-08-03 23:03:14 -04:00