select case bloking in client.go
Opened this issue · 5 comments
Deleted user commented
I tried this broker, found a little problem:
File client.go line:220, in method Receive(...),
select case <-c.stop: this case will never execute.
when i tried close the channel c.stop,
this case will never got in .
But in method Send(...) line:400, similar code , works ok!
I think may be the ReadPacket(...) method at line 260, blocking the select .
I found this code in packets.go:
func decodeLength(r io.Reader) int {
for {
....
}}
Please check if this a real problem, thank you !
tennessine commented
你问我吧 加qq群 221405150
tennessine commented
我是这个broker**区的总代理
tennessine commented
一看你这头像就知道是**人
alsm commented
Thanks, I will look at it.
tennessine commented
It had been a long time since last update.