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

Bug: Send abort signal to http_stream on drop/close #1560

Open
insipx opened this issue Jan 28, 2025 · 0 comments
Open

Bug: Send abort signal to http_stream on drop/close #1560

insipx opened this issue Jan 28, 2025 · 0 comments
Labels

Comments

@insipx
Copy link
Contributor

insipx commented Jan 28, 2025

test_dm_stream_all_messages only works if each stream call is in a separate scope. This probably isn't a blocker overall for streaming but should be fixed in a followup by sending the abort signal to the web stream in the http api

Abort code in wasm reqwest: https://github.com/seanmonstar/reqwest/blob/b65a03c698e9e11cadb11d9815c1cdd5f556738e/src/wasm/client.rs#L225

otherwise streams in browser may hang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant