hashicorp / yamux

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

Dont output keepalive error when the session is closed #62

Closed mkeeler closed 6 years ago

mkeeler commented 6 years ago

The keepalive runs in its own go routine and its likely the session gets closed out from under it. In this case we should not output an error but rather should handle it like the next case in the select below which is to just return.