-
Notifications
You must be signed in to change notification settings - Fork 117
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
Have to call stream.finish() with GZipOutputStream #21
Comments
Here's a link: http://wondersofcomputing.blogspot.com/2010/02/gzipoutputstream-remember-to-finish.html Note that the javadocs for GZipOutputStream show the finish() call as well. |
Thanks. Will do. |
Added. |
Hey, I have some other changes if you're interested to both simplify the code and make it work with non-blocking I/O. I didn't do it inside gelfj because I needed a Spring bean GelfSender, but let me know and I'll back port them to gelfj.
|
GZipOutputStream doesn't always return good results if you don't call stream.finish() before calling stream.close(). Weird, buggy, but true.
The text was updated successfully, but these errors were encountered: