Skip to content

SDK: Missing equivalent of golang's net/http#MaxBytesReader? #27

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

Open
zvalmog opened this issue Aug 25, 2024 · 1 comment
Open

SDK: Missing equivalent of golang's net/http#MaxBytesReader? #27

zvalmog opened this issue Aug 25, 2024 · 1 comment
Labels

Comments

@zvalmog
Copy link

zvalmog commented Aug 25, 2024

Reading here I was hoping to find an equivalent for golang's net/http#MaxBytesReader but was unable. Am I looking in the right place?

@linear linear bot added the DX label Aug 28, 2024
@linear linear bot changed the title Missing equivalent of golang's net/http#MaxBytesReader? SDK: Missing equivalent of golang's net/http#MaxBytesReader? Apr 23, 2025
@robotdan
Copy link
Member

robotdan commented May 9, 2025

I don't think this feature currently exists. But seems like a good addition.

That code has been re-written to remove use virtual threads. But I think the equivalent location would be during the read of HTTPInputStream.

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

No branches or pull requests

2 participants