Add block size limit #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To prevent attacks by block size limits, it is possible to add maxBlockSize parameter controlled at the blockDevice level. This effectively limit too long blocks which can reduce or block concurrency in the channel.
Transport device should check block size as early as possible and throw exception, and the protocol driver should drop connection with specific reporting.
For example, if block device uses framed block with a leading size, is should check it as soon as the size is decoded. As such framing prevent loading blocks with excessive size, it