Fixed a bug that mux.Session could not be properly closed when receiving an End status.

This commit is contained in:
renahita6 authored and yuhan6665 committed 2022-12-10 18:59:51 -05:00
1 parent b8e8229242
commit 3e4e050313
2 files changed
+2

No files matched your search

+1
View File
@@ -202,6 +202,7 @@ func (w *ServerWorker) handleStatusEnd(meta *FrameMetadata, reader *buf.Buffered
common.Interrupt(s.input)
common.Interrupt(s.output)
}
common.Interrupt(s.input)
s.Close()
}
if meta.Option.Has(OptionData) {