-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenVPN: Resolve issues with long negotiations (#1094)
Clean up the naive abuse of async/await in OpenVPNSession. Encapsulate the instances of ControlChannel/DataChannel inside the Negotiator actor, so that actor-isolation for them becomes automatically unnecessary. Synchronous methods inside the actor are the way to go. After that, handle control packets in orderly fashion, because this is not being done and may spoil negotiation very easily. Probably also happening in TunnelKit. Ultimately, skip some unnecessary XOR processing in UDP when no XOR method is actually set.
- Loading branch information
Showing
10 changed files
with
207 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.