Skip to content

Commit

Permalink
network-stack: Handle abrupt disposal of TcpConnection
Browse files Browse the repository at this point in the history
Where we would free the PCB TCB but fail to notify any live TcpIOSource
instances and blocked TcpInputStream.read() calls.
  • Loading branch information
oleavr committed Sep 20, 2024
1 parent ca8519c commit 66099c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fruity/network-stack.vala
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,9 @@ namespace Frida.Fruity {
pcb = null;
return OK;
});

_state = CLOSED;
update_events ();
}

private void detach_from_pcb () {
Expand Down

0 comments on commit 66099c7

Please sign in to comment.