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

Implement the timeout for WASM client #1274

Closed
wants to merge 1 commit into from

Conversation

halfzebra
Copy link

Hello friends! 🙌

This PR aims to close #1135

Feedback is very welcome and I will address any comments asap.

Let me know what you think!

@shuoli84
Copy link
Contributor

@seanmonstar ping~ Could u pls review this PR?

@beyonddream
Copy link

@seanmonstar Can this be reviewed and merged please ? This seem to be super useful to have and I am in need of this timeout functionality in wasm build mode where I am making fan-out calls to multiple api's and the page kind of blocked for a while even if one of the endpoint is down.

@vasishath
Copy link

@seanmonstar Can you please review this? This is really useful.

flisky added a commit to flisky/reqwest that referenced this pull request Feb 24, 2023
flisky added a commit to flisky/reqwest that referenced this pull request Apr 8, 2023
@JorritSalverda
Copy link

What's the status of this PR? And if it doesn't get merged documentation on how to accomplish a timeout in WebAssembly instead would be very useful :)

@flisky
Copy link
Contributor

flisky commented Sep 6, 2023

The abort_request_cb.forget() causes memory leak. Please take a look at PR #1760, which I started based on your contribution, @halfzebra.

@halfzebra
Copy link
Author

@flisky thanks for commenting on this PR!

Good job, I think it's totally reasonable to close it in favor of #1760 👍

@halfzebra halfzebra closed this Sep 6, 2023
jakubadamw pushed a commit to grafbase/reqwest that referenced this pull request May 1, 2024
jakubadamw pushed a commit to grafbase/reqwest that referenced this pull request Jun 11, 2024
jakubadamw pushed a commit to grafbase/reqwest that referenced this pull request Jul 30, 2024
pimeys pushed a commit to grafbase/reqwest that referenced this pull request Oct 23, 2024
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

Successfully merging this pull request may close these issues.

RequestBuilder doesn't have a timeout in wasm module
6 participants