xiaoyanit / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Turning wifi off and back on causes program to freeze #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Turn wi-fi off when openvpn was established
2. Turn it back on

What is the expected output? What do you see instead?
Expected for vpn to restore connection, instead I'm seeing "Unknown" in the 
state

What version of the product are you using?
r191

Which Android phone are you using?
Galaxy S with Android 2.3.5

Please provide any additional information below.
The reason was to program not understanding the TCP_CONNECT state message in 
the DaemonMonitor class. I've added the TCP_CONNECT state and set its handler 
to be the same as STATE_CONNECTING, the program started to re-establish the 
connection after wi-fi switch. Attached is the patch for the issue

Original issue reported on code.google.com by volkov.r...@gmail.com on 8 Dec 2011 at 3:33

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 29 Dec 2011 at 12:06

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:59

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 28 Jan 2012 at 2:59