mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-14 08:11:57 +00:00
After sending the MQTT disconnect message, no response is expected, therefore it makes little sense to delay the socket closure. So far it was expected to call `mqtt_input` function after calling `mqtt_disconnect` in order to close the socket, which is counter-intuitive. Simplify this, by closing the socket rightaway in the `mqtt_disconnect` function. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
mqtt_decoder.c | ||
mqtt_encoder.c | ||
mqtt_internal.h | ||
mqtt_os.h | ||
mqtt_rx.c | ||
mqtt_transport_socket_tcp.c | ||
mqtt_transport_socket_tls.c | ||
mqtt_transport_websocket.c | ||
mqtt_transport.c | ||
mqtt_transport.h | ||
mqtt.c |