diff --git a/ChangeLog.md b/ChangeLog.md index 595761320..9c26a858e 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,9 @@ ## Release Notes -### v1.16.0 (11/2/2023) +### v1.17.0 (11/2/2023) +Release 1.17.0 has been developed according to wolfSSL's development and QA process (see link below) and successfully passed the quality criteria. +https://www.wolfssl.com/about/wolfssl-software-development-process-quality-assurance + * Fix for declaration after executable block by @lealem47 in #341 * Add QNX IDE, Makefile, and remove source code exec bit by @JacobBarthelmeh in #317 diff --git a/examples/pub-sub/mqtt-pub.c b/examples/pub-sub/mqtt-pub.c index b994cb68c..467fccee5 100644 --- a/examples/pub-sub/mqtt-pub.c +++ b/examples/pub-sub/mqtt-pub.c @@ -461,7 +461,6 @@ int pub_client(MQTTCtx *mqttCtx) static BOOL CtrlHandler(DWORD fdwCtrlType) { if (fdwCtrlType == CTRL_C_EVENT) { - mStopRead = 1; PRINTF("Received Ctrl+c"); return TRUE; } diff --git a/scripts/firmware.test b/scripts/firmware.test index 52926617b..9284a8e78 100755 --- a/scripts/firmware.test +++ b/scripts/firmware.test @@ -67,6 +67,9 @@ sleep 0.5 server_result=$? [ $server_result -ne 0 ] && echo -e "\n\nMQTT Example fwpush failed!" && do_cleanup "-1" +# give some time for the client complete +sleep 0.5 + if [ $ENABLE_MQTT_TLS -ne 1 ]; then # Compare files echo "Comparing files" diff --git a/src/mqtt_sn_packet.c b/src/mqtt_sn_packet.c index 258980ed0..287142a2b 100644 --- a/src/mqtt_sn_packet.c +++ b/src/mqtt_sn_packet.c @@ -1488,7 +1488,7 @@ int SN_Packet_Read(MqttClient *client, byte* rx_buf, int rx_buf_len, return MqttPacket_HandleNetError(client, MQTT_TRACE_ERROR(MQTT_CODE_ERROR_NETWORK)); } - rc += len; + len += rc; } else { rc = MqttSocket_Peek(client, rx_buf, 4, timeout_ms);