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

Feature Request: Limit Maximum Bytes per Request #293

Open
NinoSkopac opened this issue Aug 20, 2024 · 2 comments
Open

Feature Request: Limit Maximum Bytes per Request #293

NinoSkopac opened this issue Aug 20, 2024 · 2 comments

Comments

@NinoSkopac
Copy link
Contributor

NinoSkopac commented Aug 20, 2024

I would like to request a feature that allows setting a limit on the maximum number of bytes per request. For example, if the limit is set to 100MB, users will only be able to download files that are 100MB or smaller. Users can download multiple files, but each file must individually be within the specified 100MB limit.

@NinoSkopac NinoSkopac changed the title Feature request: max bytes per request Feature Request: Limit Maximum Bytes per Request Aug 20, 2024
@zh-jq-b
Copy link
Member

zh-jq-b commented Aug 21, 2024

It is ok to add a size limit to HTTP body. But it won't work for HTTP CONNECT / socks5 tunnel connections.

@NinoSkopac
Copy link
Contributor Author

Understood.

In that case, I'd much rather prefer #294, as that's a complete solution.

This could still be helpful - I'll leave it to your discretion.

Thank you Mr. Jingqiang.

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

No branches or pull requests

2 participants