Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clientconn: go idle if conn closed after preface received
The select branch will be selected randomly, if there are several ready branches. If the preface has been received and then connection is closed, the `createTransport` might hit the `connClosed.Done()` branch. Ideally, the subConn should go idle and reconnect. RELEASE NOTES: none Signed-off-by: Wei Fu <fuweid89@gmail.com>
- Loading branch information