Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Crash of mosquitto broker on Windows when client disconnects from websocket connection #1137
There is a bug in the callback_mqtt function in websockets.c, that causes a crash of the mosquitto broker on Windows when a client closes its websocket connection.
A socket on Windows is an unsigned int, so this test succeeds even when the value is INVALID_SOCKET.
Some extra info: