diff --git a/listen.go b/listen.go index 4ed0b4c19..12ca4b121 100644 --- a/listen.go +++ b/listen.go @@ -136,7 +136,7 @@ func (fcl *fakeCloseListener) Accept() (net.Conn, error) { } // call underlying accept - conn, err := fcl.Accept() + conn, err := fcl.sharedListener.Accept() if err == nil { // if 0, do nothing, Go's default is already set // and if the connection allows setting KeepAlive, set it