Airat Arifullin
cb813e27a8
* Sending empty chunks by `writeChunk` should not release new objects as this doesn't change `payloadSizeLimiter` internal state. * This also fixes the bug with patcher when an offset of a patch equals to `MaxSize` - `payloadSizeLimiter` releases object again although state is the same. This led to error because EC-encoder receieved empty payload and couldn't not process it. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com> |
||
---|---|---|
.. | ||
channel.go | ||
channel_test.go | ||
hasher.go | ||
size_hint_test.go | ||
transformer.go | ||
transformer_test.go | ||
types.go |