Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a request size limit #29

Merged
merged 8 commits into from
Aug 20, 2024
Merged

Add a request size limit #29

merged 8 commits into from
Aug 20, 2024

Conversation

i-am-tom
Copy link
Contributor

@i-am-tom i-am-tom commented Aug 20, 2024

There is a current issue in sqlx being investigated: launchbadge/sqlx#3440

In Engine, we already have request size limits so this isn't an issue, but no such limits exist in the connectors. This PR adds a 100MB limit to connector requests, in order to avoid problems if bad actors find ways to query NDCs directly.

@i-am-tom i-am-tom marked this pull request as ready for review August 20, 2024 12:14
Copy link
Contributor

@soupi soupi left a comment

Choose a reason for hiding this comment

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

Excellent

@i-am-tom i-am-tom added this pull request to the merge queue Aug 20, 2024
Merged via the queue into main with commit a4750f3 Aug 20, 2024
10 checks passed
@i-am-tom i-am-tom deleted the i-am-tom/request-limit branch August 20, 2024 12:42
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants