mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-15 15:20:44 -08:00
Use registered io on Windows when possible (#905)
This commit is contained in:
parent
8ba5d64dbc
commit
a3e59a38ef
13 changed files with 472 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue