Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes pooled buffer's AdjustCapacity to properly set the length #72

Merged
merged 1 commit into from
Feb 18, 2016

Conversation

nayato
Copy link
Member

@nayato nayato commented Feb 17, 2016

Motivation:
Fix a bug #71.

Modifications:
Set length property of a PooledByteBuffer in case of a switch of underlying array to unpooled.

Results:
PooledByteBufferAllocator can work with buffers bigger than pooled buffer's original capacity.

Motivation:
Fix a bug Azure#71.

Modifications:
Set length property of a PooledByteBuffer in case of a switch of underlying array to unpooled.

Results:
PooledByteBufferAllocator can work with buffers bigger than pooled buffer's original capacity.
@manusr
Copy link

manusr commented Feb 18, 2016

LGTM

nayato added a commit that referenced this pull request Feb 18, 2016
Fixes pooled buffer's AdjustCapacity to properly set the length
@nayato nayato merged commit 0a9b964 into Azure:dev Feb 18, 2016
@nayato nayato deleted the buffers branch February 18, 2016 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants