You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the _mosquitto_socket_nonblock is misleading, it closes the socket as a side-effect.
if(_mosquitto_socket_nonblock(*sock)){
COMPAT_CLOSE(*sock); /* This is wrong, the socket is already closed by _mosquitto_socket_nonblock() call */
continue;
The text was updated successfully, but these errors were encountered:
mosquitto/lib/net_mosq.c
Line 326 in 46630e7
also on lines
340
425
442
1247
1275
1293
1299
I think the
_mosquitto_socket_nonblock
is misleading, it closes the socket as a side-effect.The text was updated successfully, but these errors were encountered: