soheilhy / cmux

Connection multiplexer for GoLang: serve different services on the same port!
Apache License 2.0
2.53k stars 197 forks source link

I don't understand why calling source.Read() might block? #98

Open Ilqjx opened 1 year ago

Ilqjx commented 1 year ago

https://github.com/soheilhy/cmux/blob/5ec6847320e53b5fee0ab9a4757b56625a946c85/buffer.go#L37