fhmq / hmq

High performance mqtt broker
Apache License 2.0
1.32k stars 273 forks source link

websocket {"level":"info","timestamp":"2022-04-13T16:51:45.837+0800","logger":"broker","caller":"broker/broker.go:315","msg":"read connect from ","clientID":"mqttx_4f7039f8","addrError":"PANIC=runtime error: invalid memory address or nil pointer dereference"} #161

Closed Mistletoe0628 closed 2 years ago

Mistletoe0628 commented 2 years ago

go run main.go -ws 1888 -wsp /ws Did I use it wrong or BUG image image 2f12561569327ab89d65b326e3aafe9

lucasvmx commented 2 years ago

@coconutsheep You're right we have a nil pointer dereference here

I got:

{"level":"info","timestamp":"2022-04-25T21:41:24.684-0300","logger":"broker","caller":"broker/broker.go:317","msg":"read connect from ","clientID":"mqttx_88e62ca3","addrError":"PANIC=runtime error: invalid memory address or nil pointer dereference"}
lucasvmx commented 2 years ago

@chowyu08 this issue can be closed