Closed aead closed 1 year ago
This commit uses human-readable size limits instead of untypted constants - i.e. 1 * mem.MiB instead of 1 << 20.
1 * mem.MiB
1 << 20
Further, replace io.LimitReader with mem.LimitReader to avoid type casting.
io.LimitReader
mem.LimitReader
PTAL at conflicts @aead
This commit uses human-readable size limits instead of untypted constants - i.e.
1 * mem.MiB
instead of1 << 20
.Further, replace
io.LimitReader
withmem.LimitReader
to avoid type casting.