fix(mux): Reset stream ID counter on multiplexer reset

This commit is contained in:
zarazaex69
2026-04-09 16:37:27 +03:00
parent 2cb4eb2dfe
commit 2ebeb8bb70

View File

@@ -165,6 +165,7 @@ func (m *Multiplexer) Reset() {
}
m.streams = make(map[uint16]*Stream)
m.nextID = 1
}
func (m *Multiplexer) UpdateSendFunc(onSend func([]byte) error) {