diff --git a/common/mux/client.go b/common/mux/client.go index ccf05cb2..2019738f 100644 --- a/common/mux/client.go +++ b/common/mux/client.go @@ -355,6 +355,7 @@ func (m *ClientWorker) 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) { diff --git a/common/mux/server.go b/common/mux/server.go index 3a913098..df461be7 100644 --- a/common/mux/server.go +++ b/common/mux/server.go @@ -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) {