top | item 40751770

(no title)

halifaxbeard | 1 year 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

discuss

order

klysm|1 year ago

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