[PATCH 1/9] Allow tunnel setup prior to entering mainloop

Kevin Cernekee cernekee at gmail.com
Mon Feb 8 08:06:40 PST 2016


On Mon, Feb 8, 2016 at 2:11 AM, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Mon, Feb 8, 2016 at 5:25 AM, Kevin Cernekee <cernekee at gmail.com> wrote:
>> Legacy callers can invoke openconnect_setup_tun_fd() before DTLS
>> starts.  If this happens, don't try to set up the tunnel from the
>> mainloop.
>
> Hi Kevin,
>  Do you need that for android? In android setting up the tunnel from
> the mainloop would actually improve the MTU detection, and in 3g
> networks that's quite a problem. Couldn't you delay the tun device
> setup?

OK but I think we'll need to bump the library API version if the
library requires all users to start using the setup_tun() callback?



More information about the openconnect-devel mailing list