Change must to must not call publish within message arrived callback #1598

This commit is contained in:
Ian Craggs 2025-08-15 17:55:34 +01:00
parent 71fb9571bc
commit beb04516a0
No known key found for this signature in database
GPG Key ID: A7AE1A8F2CCAB186
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ LIBMQTT_API const char* MQTTClient_strerror(int code);
* This server behaviour is allowed in MQTT 5.0, but not in MQTT 3.1.1, so the
* disconnected callback will never be invoked if you use MQTT 3.1.1.
*
* In particular, you must make a publish call within the message arrived callback.
* In particular, you must not make a publish call within the message arrived callback.
* These restrictions are all lifted in the
* <a href="../../MQTTAsync/html/index.html">MQTTAsync API</a>.
*