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

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

kentquirk
Copy link
Contributor

@kentquirk kentquirk commented Aug 15, 2024

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 02:32
@kentquirk kentquirk changed the base branch from main to v2.7_work_branch August 15, 2024 02:37
@kentquirk kentquirk merged commit f5fc674 into v2.7_work_branch Aug 15, 2024
8 checks passed
@kentquirk kentquirk deleted the kent.fix_crash branch August 15, 2024 13:48
kentquirk added a commit that referenced this pull request Aug 15, 2024
## 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 added a commit that referenced this pull request Aug 15, 2024
This is a cherry-pick of the commit from #1276 to the 2.8 (main) branch.
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