hashicorp / yamux

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

Deadline updates impact blocked reads and writes #82

Closed dadgar closed 4 years ago

dadgar commented 4 years ago

This change causes new deadlines to impact currently blocked reads and writes. This is inline with the documentation of deadlines on a net.Conn.

This PR can close #https://github.com/hashicorp/yamux/pull/51

evanphx commented 4 years ago

Ah! I see, the "all pending" comment in the net.Conn docs. Excellent!

dadgar commented 4 years ago

@evanphx Thanks for the review!