hashicorp / yamux

Golang connection multiplexing library
Mozilla Public License 2.0
2.24k stars 236 forks source link

Half-closed reads removes the possibility to communicate Stream closure #135

Closed lukaspj closed 2 months ago

lukaspj commented 2 months ago

131 breaks a very fundamental thing in Yamux, the ability to inform the other end of the line that we are not interested in the Stream anymore.

This forces us to roll-back to a previous version.

This could be solved by #115 I believe, if we had a "remote closed" channel we could listen on to detect the half-closed state.

lukaspj commented 2 months ago

Never mind I crossed some wires here, will close