Skip to content

fix(rust/gui-client): ignore network resets before the tunnel is ready#6458

Merged
ReactorScram merged 10 commits into
mainfrom
fix/redundant-resets
Aug 27, 2024
Merged

fix(rust/gui-client): ignore network resets before the tunnel is ready#6458
ReactorScram merged 10 commits into
mainfrom
fix/redundant-resets

Conversation

@ReactorScram

Copy link
Copy Markdown
Contributor

Closes #6457

This PR ignores Session::reset requests from the GUI while the IPC service is still raising the tunnel. This removes redundant reconnections to the Portal and it may improve behavior on some systems.

It's not any faster on my dev laptop.

set_dns seemed harmless so I didn't touch that.

ReactorScram and others added 9 commits August 27, 2024 16:35
Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Closes #6457

This PR ignores `Session::reset` requests from the GUI while the IPC
service is still raising the tunnel. This removes redundant reconnections
to the Portal and it may improve behavior on some systems.

It's not any faster on my dev laptop.

`set_dns` seemed harmless so I didn't touch that.
@ReactorScram ReactorScram requested a review from jamilbk August 27, 2024 18:45
@ReactorScram ReactorScram self-assigned this Aug 27, 2024
@vercel

vercel Bot commented Aug 27, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2024 7:10pm

@ReactorScram ReactorScram marked this pull request as ready for review August 27, 2024 18:48
Base automatically changed from fix/dns-issue-6453 to main August 27, 2024 19:05
@ReactorScram ReactorScram added this pull request to the merge queue Aug 27, 2024
@ReactorScram ReactorScram removed this pull request from the merge queue due to a manual request Aug 27, 2024
@ReactorScram ReactorScram enabled auto-merge August 27, 2024 19:05
@ReactorScram ReactorScram added this pull request to the merge queue Aug 27, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 27, 2024
@ReactorScram ReactorScram added this pull request to the merge queue Aug 27, 2024
Merged via the queue into main with commit 7762741 Aug 27, 2024
@ReactorScram ReactorScram deleted the fix/redundant-resets branch August 27, 2024 19:46
ReactorScram added a commit that referenced this pull request Aug 27, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Aug 27, 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.

bug(rust/gui-client): Don't send network resets / DNS changes while connlib is coming up

2 participants