blaze-builder
blaze-builder copied to clipboard
Fix reserved space computation in 'encodeChunked'
The required space could be larger than expected after the buffer is handed over. This in turn increases the space to be reserved for encoding the chunk size, which in turn might lead to not enough bytes being handed over to the inner builder.