raiden00pl opened a new pull request, #4083:
URL: https://github.com/apache/nuttx-apps/pull/4083

   
   ##  Summary
   
     NuttX does not re-initialise .data/.bss between runs of a builtin, so the
     options, MQTT v5 properties, flags and trace callback of a previous
     mqtt_pub/mqtt_sub run stuck to the next run: after mqtt_pub -r, every 
     later mqtt_pub kept publishing retained messages. paho_mqtt_02.patch resets
     this state at the start of main(). 
     
   ##  Impact
     
     mqtt_pub and mqtt_sub behave the same on every run.
   
   ##  Testing
     
     sim and qemu-armv8a against a host mosquitto broker: mqtt_pub -r
     followed by a plain mqtt_pub no longer leaves a retained message; publish,
     retained publish, subscribe and node-to-node tests unchanged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to