Skip to content
Snippets Groups Projects

obfs4: stop obfs4 client and proxy in a go routine

Merged jkito requested to merge jkito/bitmask-vpn:obfsvpn-close into main

the Stop is blocking and cannot be called concurrently with Start, when for some reason obfs4 client fails to connect and has not yet returned from Start, a call to Stop will block until Start has returned, which makes UI unresponsive for some time

calling it in a separate Go routine works around this issue as we can proceed to stop the openvpn process

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading