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

rpcdaemon: manage http_compression as erigon #2763

Merged
merged 5 commits into from
Mar 4, 2025

Conversation

lupin012
Copy link
Contributor

@lupin012 lupin012 commented Mar 1, 2025

If HTTP request requires compression but compression is disabled, rpcdaemon will behave as follows:

  • if strict JSON-RPC compatibility with Erigon is enabled, it sends JSON response uncompressed
  • if not, it sends JSON error response as per RFC 7694

@lupin012 lupin012 requested a review from canepat March 1, 2025 15:18
@lupin012 lupin012 force-pushed the http_compression_manage_as_erigon branch from 7a0b59a to ae4ba57 Compare March 1, 2025 17:50
@canepat canepat enabled auto-merge (squash) March 4, 2025 19:18
@canepat canepat merged commit c05e57f into master Mar 4, 2025
5 checks passed
@canepat canepat deleted the http_compression_manage_as_erigon branch March 4, 2025 19:19
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.

3 participants