fhmq / hmq

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

fix: :bug: fixes nil pointer dereference #163

Closed lucasvmx closed 2 years ago

lucasvmx commented 2 years ago

The websocket.Conn type does not return any value with the remoteAddr() function. It stores the information in the field wsConn.Request().RemoteAddr