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

Dispatcher can lost some metrics on connection with compression #394

Closed
msaf1980 opened this issue Nov 7, 2019 · 0 comments
Closed

Dispatcher can lost some metrics on connection with compression #394

msaf1980 opened this issue Nov 7, 2019 · 0 comments

Comments

@msaf1980
Copy link
Contributor

msaf1980 commented Nov 7, 2019

In completion of #387

I add a tests for gzip/lz4 input streams and fixed gzip buffering.

https://github.com/msaf1980/carbon-c-relay/tree/fix_dispatcher_compress

Some fix for lz4 - run LZ4F_resetDecompressionContext after error (see http://htmlpreview.github.io/?https://github.com/lz4/lz4/blob/dev/doc/lz4frame_manual.html). May be after incomplete frame received.
Problems - it's added in lz4 1.8. So fixed version not builded on production systems (RHEL 7 and clones, Debian 9 and Ubuntu Stable). And work on Fedora and Debian 10.

I'll try find a resolution. And do some regression tests for stability check.

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

No branches or pull requests

2 participants