On 04/19/2018 09:01 AM, Daniel Mack wrote:
> Anyway, I really like the idea to get this thing fixed. So just
> me a couple of days to toy around and see if things do not break apart
> too horrible :)
Sure, no hurries :)
I've tested this with a Wifi which I cut off from its uplink
periodically, and it seems to do the right thing when it succeeds in the
2nd attempt etc. Also, the patch follows what is already there for IPv6.
Seems to work, so I applied it.
But I'm not really familiar with the internals of connman, so of
I might have missed something.
I thought this patch will change the online check to do the online check
permanently in the background. IIRC, the mer project has this logic
implemented in their version of ConnMan. Maybe we should just add it as
well. It seems to work for them. So if anyone wants to send a patch,
please go ahead.