Expected Behavior
Store an object with header of MaxHeaderLen-1 size. GET/HEAD the object correctly.
Current Behavior
There will be a problem with some requests because FSTree APIs returns 16K from the beginning of the object and it's not the same as header (includes OID, signature and some protobuf overhead).
Possible Solution
Limit signature size (invocation script is 1K, verification script is also 1K in N3, that's a good start), fetch like 20K from storage.
Context
#3810 (comment)
Regression
Kinda. Before binary/streaming APIs it worked by always pulling whole object from the storage.
Your Environment
Expected Behavior
Store an object with header of
MaxHeaderLen-1size. GET/HEAD the object correctly.Current Behavior
There will be a problem with some requests because FSTree APIs returns 16K from the beginning of the object and it's not the same as header (includes OID, signature and some protobuf overhead).
Possible Solution
Limit signature size (invocation script is 1K, verification script is also 1K in N3, that's a good start), fetch like 20K from storage.
Context
#3810 (comment)
Regression
Kinda. Before binary/streaming APIs it worked by always pulling whole object from the storage.
Your Environment