Use registered io on Windows when possible (#905)

This commit is contained in:
Nate Brown 2023-07-10 12:43:48 -05:00 committed by GitHub
parent 8ba5d64dbc
commit a3e59a38ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 472 additions and 8 deletions

View file

@ -140,3 +140,9 @@ func (u *TesterConn) LocalAddr() (*Addr, error) {
func (u *TesterConn) Rebind() error {
return nil
}
func (u *TesterConn) Close() error {
close(u.RxPackets)
close(u.TxPackets)
return nil
}