mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Wed Sep 25 20:37:14 CEST 2024
This commit is contained in:
@@ -290,7 +290,7 @@ func (m *Mux) DialContext(ctx context.Context) (net.Conn, error) {
|
||||
defer func() {
|
||||
underlay.Scheduler().DecPending()
|
||||
}()
|
||||
session := NewSession(mrand.Uint32(), true, underlay.MTU())
|
||||
session := NewSession(mrand.Uint32(), true, underlay.MTU(), m.users)
|
||||
if err := underlay.AddSession(session, nil); err != nil {
|
||||
return nil, fmt.Errorf("AddSession() failed: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user