Commit c02cdbef authored by Simon Wunderlich's avatar Simon Wunderlich Committed by Roger A. Light
Browse files

mosquitto-lib: close socketpair on (re)connect



If the socket pair is still opened on reconnect, close it before
creating it again (just like the state variables). Otherwise, these
sockets are leaked on multiple mosquitto_connect() calls.

Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
parent 720d52d8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment