Hacker News new | ask | show | jobs
by halifaxbeard 729 days ago
Reminds me of a bug I fixed in yamux, simply because of how long I've had to deal with it. Bug existed for as long as yamux did. (yamux is used by hashicorp for stream muxing everywhere in their products.)

If yamux's keepalive fails/times out, and you're calling Read on a demuxed stream, it blocks forever.

https://github.com/hashicorp/yamux/pull/127

1 comments

Huh I thought go was supposed to make concurrency easier. That seems very tricky to get right