lib/model: Verify request content against weak (and possibly strong) hash (#4767)
This commit is contained in:
committed by
Jakob Borg
parent
678c80ffe4
commit
ef0dcea6a4
@@ -20,10 +20,6 @@ const (
|
||||
maxWeakhashFinderHits = 10
|
||||
)
|
||||
|
||||
var (
|
||||
Enabled = true
|
||||
)
|
||||
|
||||
// Find finds all the blocks of the given size within io.Reader that matches
|
||||
// the hashes provided, and returns a hash -> slice of offsets within reader
|
||||
// map, that produces the same weak hash.
|
||||
|
||||
Reference in New Issue
Block a user