hashicorp / yamux

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

SESSION关闭后r.Session().NumStreams()依然可以获取通道数?是不是有问题 #75

Closed dotqi closed 3 years ago

dotqi commented 5 years ago

SESSION关闭后session.NumStreams()依然可以获取通道数?是不是有问题。 客户端连接后,产生两个流通道,然后客户端ctrl+c结束程序。服务端自动关闭session之后session.NumStreams()依然反回值是2