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

Support rate-limit in BunFile when streaming through Response(file) #17165

Open
terrywh opened this issue Feb 8, 2025 · 0 comments
Open

Support rate-limit in BunFile when streaming through Response(file) #17165

terrywh opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@terrywh
Copy link

terrywh commented Feb 8, 2025

What is the problem this feature would solve?

Implement a HTTP File Server, limit the download speed for large files.

What is the feature you are proposing to solve the problem?

provide a RateLimitReadableStream to pipe through?

What alternatives have you considered?

No response

@terrywh terrywh added the enhancement New feature or request label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant