Skip to content

fix: close receive flows on connection close#4

Open
Frando wants to merge 1 commit into
mainfrom
fix/close-flows
Open

fix: close receive flows on connection close#4
Frando wants to merge 1 commit into
mainfrom
fix/close-flows

Conversation

@Frando

@Frando Frando commented Mar 11, 2025

Copy link
Copy Markdown
Member

Currently, receive flows are not closed once the connection closes, but only once the session is dropped. This changes this so that receive flows are closed once the connection closes.

Misses a test still (but I have one in callme).

Not super sold on how to do this. Might be even better to pass the error along, would need to add an error type that wraps ConnectionError for that I think.

@n0bot n0bot Bot added this to iroh Mar 11, 2025
@github-project-automation github-project-automation Bot moved this to 🏗 In progress in iroh Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

1 participant