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

pool flate readers #195

Merged
merged 1 commit into from
Dec 27, 2016
Merged

pool flate readers #195

merged 1 commit into from
Dec 27, 2016

Conversation

y3llowcake
Copy link
Contributor

No description provided.

@garyburd
Copy link
Contributor

Add code to return the flate reader to the pool when the reader returns io.EOF. This will help with scenarios where the application does not call NextReader or there's a delay calling NextReader.

@y3llowcake
Copy link
Contributor Author

Added this check into flateReadWrapper.Read()

@y3llowcake
Copy link
Contributor Author

And it actually compiles now 😬

@garyburd garyburd merged commit 2db2f66 into gorilla:master Dec 27, 2016
@gorilla gorilla locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants