Skip to content

Reconnect on error

cyberta requested to merge reconnect_on_error into main

attempt to fix #54 (closed)

This merge requests ensures that obfsvpn tries to reconnect on errors. It's a naive approach but it seems to work on Android where the underlying network can suddenly dis- and reappear.

There are smarter ways to do the error handling (e.g. considering debouncing) so any hints are very welcome!

As a side effect this MR removes some code duplication

This MR also squeezes in a fix for the failing validate build step by updating golang-ci's version. We can separate it in case the reconnect error fix needs more time for discussion, changes etc.

Edited by cyberta

Merge request reports

Loading