hashicorp / yamux

Golang connection multiplexing library
Mozilla Public License 2.0
2.19k stars 232 forks source link

fix: Make sendReady a pointer so the Body can be swapped #106

Closed mafredri closed 2 years ago

mafredri commented 2 years ago

This PR re-fixes the issue fix attempted in #102.

Due to a refactor of the implementation, the non-pointer characteristic was overlooked and we were modifying a copy of sendReady, this fixes that.

jefferai commented 2 years ago

Thanks!