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

Introduce ObservedState.negotiatingKey and TunnelState.negotiatingKey… #5919

Conversation

acb-mv
Copy link
Contributor

@acb-mv acb-mv commented Mar 7, 2024

…, behind DEBUG flag

This will allow the key negotiation to be put in the state-machine flow of the PacketTunnelProvider/Actor, giving some leeway with the tunnel setup watchdog timer. It is a step in a work in progress, and not used yet.


This change is Reviewable

@acb-mv acb-mv added the iOS Issues related to iOS label Mar 7, 2024
@acb-mv acb-mv requested a review from buggmagnet March 7, 2024 14:32
@acb-mv acb-mv self-assigned this Mar 7, 2024
Copy link

linear bot commented Mar 7, 2024

@buggmagnet buggmagnet requested a review from rablador March 11, 2024 12:29
Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@rablador rablador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @acb-mv)


ios/MullvadVPN/TunnelManager/StopTunnelOperation.swift line 46 at r1 (raw file):

        #endif

        case .disconnected, .disconnecting, .pendingReconnect, .waitingForConnectivity(.noNetwork):

This makes so much more sense!

Copy link
Contributor

@rablador rablador left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the introduce-a-state-that-means-we-are-exchanging-keys-in-ios-530 branch from 5f17f5a to 8ab109d Compare March 11, 2024 12:53
@buggmagnet buggmagnet merged commit 517de3a into main Mar 11, 2024
6 checks passed
@buggmagnet buggmagnet deleted the introduce-a-state-that-means-we-are-exchanging-keys-in-ios-530 branch March 11, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants