Skip to content

Conversation

@Indexu
Copy link

@Indexu Indexu commented Dec 17, 2021

Slightly modified version of the Sentry module gzip code to automatically compress payloads that are above a size threshold.

@Indexu Indexu requested review from einarth and judgeaxl December 17, 2021 10:26
Copy link

@judgeaxl judgeaxl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was resolved in Slack a long time ago, but the problem with this is that it requires the receiving service is aware of gzip compression and by default that is not the case. Thus, arbitrarily compressing payloads to any service is almost guaranteed to fail. Better would be to use this as a utility wrapper around services that are known to support gzip compression.

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