Simplify handling if no TCP mux is configured

This commit is contained in:
Steffen Vogel
2023-04-18 18:20:06 +02:00
parent f40dd65abb
commit c596a7cc2b
5 changed files with 14 additions and 46 deletions

View File

@@ -103,9 +103,6 @@ var (
// ErrRunCanceled indicates a run operation was canceled by its individual done
ErrRunCanceled = errors.New("run was canceled by done")
// ErrTCPMuxNotInitialized indicates TCPMux is not initialized and that invalidTCPMux is used.
ErrTCPMuxNotInitialized = errors.New("TCPMux is not initialized")
// ErrTCPRemoteAddrAlreadyExists indicates we already have the connection with same remote addr.
ErrTCPRemoteAddrAlreadyExists = errors.New("conn with same remote addr already exists")