diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-22 18:47:41 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-25 15:08:08 +0100 |
commit | 3c11c0308e4e9fae76e1531f4f49a39f1ae24253 (patch) | |
tree | 6fbc8fba7161b0835e9e1bfba6d68bc82ad78301 /conn/bind_std.go | |
parent | f9dac7099ef1dd46ed03e8aa8453f3c5211954b8 (diff) |
conn: implement RIO for fast Windows UDP sockets
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/bind_std.go')
-rw-r--r-- | conn/bind_std.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conn/bind_std.go b/conn/bind_std.go index 193c4fe..28d1464 100644 --- a/conn/bind_std.go +++ b/conn/bind_std.go @@ -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 } |