]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
tun: windows: mitigate infinite loop in Flush()
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 31 May 2019 13:40:08 +0000 (15:40 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 31 May 2019 14:55:03 +0000 (16:55 +0200)
commitda61947ec3717fbfdc84d98866ab60e82f154ce0
tree3eb3fc593f6d7dbf792fd7ea2da8e016fa946181
parentd9f995209c3cc7bda242e8752680d78684fd62e4
tun: windows: mitigate infinite loop in Flush()

It's possible that for whatever reason, we keep returning EOF, resulting
in repeated close/open/write operations, except with empty packets.
tun/tun_windows.go