Closed fatflowers closed 2 years ago
https://github.com/DrmagicE/gmqtt/blob/e45893697645c54cd28b267dfdee8eec4bead207/server/client.go#L421
client.connected只会读出,没有写入的地方,readLoop会卡在这里吗?
不会,超时会关闭这个channel
https://github.com/DrmagicE/gmqtt/blob/e45893697645c54cd28b267dfdee8eec4bead207/server/client.go#L421
client.connected只会读出,没有写入的地方,readLoop会卡在这里吗?