Windows TAP driver issues

Etienne Dechamps etienne at edechamps.fr
Wed Jan 17 20:52:07 CET 2018


On 16 January 2018 at 22:49, Guus Sliepen <guus at tinc-vpn.org> wrote:
> Hm, there's indeed some differences between the two versions, even apart
> from the fact that one uses a thread and the other the event system. It
> seems that in write_packet(), tinc 1.0 does a ResetEvent() if a
> WriteFile() succeeded immediately, but 1.1 doesn't. Also, in tinc 1.1,
> for reads, ResetEvent() is called right before GetOverlappedResult(),
> and that looks very suspicious... with tinc 1.0 it is called right
> before ReadFile().

Good catch. Sent https://github.com/gsliepen/tinc/pull/169 your way.


More information about the tinc mailing list