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

fix: don't read more than max bytes from a request (#1276) #1282

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

kentquirk
Copy link
Contributor

This is a cherry-pick of the commit from #1276 to the 2.8 (main) branch.

## Which problem is this PR solving?

- If the compressed input to an HTTP request is too big, it can cause
Refinery to have difficulties.

## Short description of the changes

- Set a request max for the HTTP inputs /1/batch and /1/events
- Remove bogus syntax from test config

I don't have a good way to test this in CI, but it was extensively
tested locally.
@kentquirk kentquirk requested a review from a team as a code owner August 15, 2024 19:49
@kentquirk kentquirk merged commit cde0584 into main Aug 15, 2024
5 checks passed
@kentquirk kentquirk deleted the kent.fix_crash_cp branch August 15, 2024 22:05
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