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

VPN-4227: Windows daemon recovery on crash #9214

Merged
merged 7 commits into from
Mar 7, 2024

Conversation

oskirby
Copy link
Collaborator

@oskirby oskirby commented Mar 6, 2024

Description

In order to add a bit more robustness to the VPN client, we should ensure we can recovery gracefully in the event of a crash of the daemon. This adds some handling of unexpected daemon termination and takes steps to ensure that the system remains in a usable state even if a crash occurs.

Reference

Github issue #7986 (VPN-4227)
Github issue #7987 (VPN-4231)

Checklist

  • My code follows the style guidelines for this project
  • I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • I have performed a self review of my own code
  • I have commented my code PARTICULARLY in hard to understand areas
  • I have added thorough tests where needed

@oskirby oskirby force-pushed the vpn-4227-windows-daemon-recovery branch from f253ca2 to b453ded Compare March 6, 2024 16:55
@oskirby oskirby marked this pull request as ready for review March 6, 2024 17:45
Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

This look reasonable, but I'm not familiar with our Windows networking code. I don't feel comfortable approving this without asking a lot of questions so I come up to speed in this area.

If @lesleyjanenorton is not comfortable approving, let me know and I'll ask questions here or set up some time to walk through it with you.

@oskirby
Copy link
Collaborator Author

oskirby commented Mar 7, 2024

@mcleinman in light of the recent staffing changes, I think I am probably the only Windows networking expert on the team. Please feel free to ask questions.

Copy link
Member

@lesleyjanenorton lesleyjanenorton left a comment

Choose a reason for hiding this comment

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

👍

@mcleinman mcleinman self-requested a review March 7, 2024 18:14
Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

Thanks to Naomi for walking through this with Lesley and I.

@oskirby oskirby merged commit e8ecb85 into main Mar 7, 2024
132 checks passed
@oskirby oskirby deleted the vpn-4227-windows-daemon-recovery branch March 7, 2024 18:17
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.

3 participants