ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
473 stars 209 forks source link

Disconnected and reconnected without network #210

Open plkgq opened 3 years ago

plkgq commented 3 years ago

hi, after testing, after turning off the wifi and mobile network switch, turn it back on again, and then perform the reconnection operation. After the connection is successful, there is no network access. How can I solve it?

plkgq commented 3 years ago

I found that the reason is that this method is no longer executed after the network is disconnected and reconnected. I don’t know why

WX20210628-220841@2x
plkgq commented 3 years ago

Now what I can be sure of is that after disconnecting and reconnecting, I monitored the status of runloop and found that runloop is no longer executed. I hope you can help me. image in OpenVPNPacketFlowBridge.m

plkgq commented 3 years ago

@ss-abramchuk

plkgq commented 3 years ago

I tried to fix it, but it still doesn't work