Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions vsock.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package vsock

import (
"errors"
"fmt"
"io"
"net"
Expand Down Expand Up @@ -403,7 +402,7 @@ func opError(op string, err error, local, remote net.Addr) error {
//
// To rectify the differences, net.TCPConn uses an error with this text
// from internal/poll for the backing file already being closed.
err = errors.New("use of closed network connection")
err = net.ErrClosed
default:
// Nothing to do, return this directly.
}
Expand Down