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

Copy response buffer in BlockingHttpClient onto heap instead of leaking the non-heap one #876

Merged
merged 1 commit into from
Jan 11, 2016

Conversation

erdi
Copy link
Member

@erdi erdi commented Jan 10, 2016

Closes #875.

Review on Reviewable

@ldaley
Copy link
Member

ldaley commented Jan 11, 2016

Are you sure that this is necessary, given that the buffer being copied is unpooled?

@ldaley
Copy link
Member

ldaley commented Jan 11, 2016

Ah I see, it's still using a direct buffer. I hadn't consider this. Will need to check for other similar usages.

@ldaley
Copy link
Member

ldaley commented Jan 11, 2016

Going to merge and tweak slightly.

@ldaley ldaley added this to the release-1.2.0 milestone Jan 11, 2016
ldaley added a commit that referenced this pull request Jan 11, 2016
Copy response buffer in BlockingHttpClient onto heap instead of leaking the non-heap one
@ldaley ldaley merged commit 6bb05d9 into master Jan 11, 2016
@ldaley ldaley deleted the fix-875 branch March 11, 2016 00:29
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.

2 participants