jenrryyou commented on issue #1080: URL: https://github.com/apache/incubator-brpc/issues/1080#issuecomment-892466091
一对多的关系。`stream::close`关闭的是`_fake_socket_weak_ref`引用的`fake_socket`,不是真正的网络socket。`fake_socket`用来复用socket对象的写出逻辑(真正写出的时候调用的是`_host_socket`)。 > 现在的实现,brpc stream模式下,stream和connection是一对一的吧,就是一个connection上只有一个stream,因为我看StreamClose直接就关连接了 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
