conn: implement RIO for fast Windows UDP sockets

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2021-02-22 18:47:41 +01:00
parent f9dac7099e
commit 3c11c0308e
9 changed files with 852 additions and 71 deletions

View File

@@ -128,6 +128,8 @@ func (bind *StdNetBind) Close() error {
err2 = bind.ipv6.Close()
bind.ipv6 = nil
}
bind.blackhole4 = false
bind.blackhole6 = false
if err1 != nil {
return err1
}