You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reseve_inner will double the size of the underlying shared vector instead of just extending the BytesMut buffer in place if a call to BytesMut::reserve would fit inside the current allocated shared buffer. If this happens repeatedly you will eventually attempt to allocate a buffer that is too large.
Summary
reseve_inner
will double the size of the underlying shared vector instead of just extending the BytesMut buffer in place if a call toBytesMut::reserve
would fit inside the current allocated shared buffer. If this happens repeatedly you will eventually attempt to allocate a buffer that is too large.Repro
The text was updated successfully, but these errors were encountered: