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

feat: support read timeout for inbound HTTP requests #337

Merged
merged 16 commits into from May 13, 2024

Conversation

nyannyacha
Copy link
Collaborator

@nyannyacha nyannyacha commented May 7, 2024

What kind of change does this PR introduce?

Feature

Description

This PR allows setting a timeout between when the connection is established and when the runtime fully consumes the request body, making it less vulnerable to attacks such as Slowloris.

List of arguments to be created due to the introduction of this PR

  • --request-read-timeout flag specifies maximum time in milliseconds that can be waited from when the connection is accepted until the request body is fully read. (disabled by default)

@nyannyacha nyannyacha force-pushed the feat-req-idle-timeout branch 3 times, most recently from 82bb293 to 9dcc957 Compare May 9, 2024 02:23
@nyannyacha nyannyacha marked this pull request as ready for review May 9, 2024 03:15
@nyannyacha nyannyacha changed the title feat: support timeout for idle inbound HTTP requests feat: support read timeout for inbound HTTP requests May 10, 2024
@nyannyacha nyannyacha merged commit b104b1e into supabase:main May 13, 2024
3 checks passed
@nyannyacha nyannyacha deleted the feat-req-idle-timeout branch May 13, 2024 23:26
Copy link

🎉 This PR is included in version 1.50.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants