hashicorp / yamux

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

Fix unsafe header re-use on close and timeout #103

Closed mafredri closed 2 years ago

mafredri commented 2 years ago

This commit takes a minimal approach to fixing unsafe header re-use during close and timeout by reallocating the header in those cases.

Fixes #40 Related #102

jefferai commented 2 years ago

Thanks!