You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the Go documentation, a Write() call that doesn't get all the bytes out will always return a non-nil error, so this loop can never run. We should just delete the loop.
The text was updated successfully, but these errors were encountered:
While spelunking I noticed that there's a loop that attempts to write all bytes of a header:
https://github.com/hashicorp/yamux/blob/master/session.go#L358
Looking at the Go documentation, a
Write()
call that doesn't get all the bytes out will always return a non-nil error, so this loop can never run. We should just delete the loop.The text was updated successfully, but these errors were encountered: