Giuseppe Modugno <address@hidden> 於 2019年6月6日 週四 上午5:56寫道:
I was testing the behaviour of MQTT client with big messages and the following
assert in mqtt_message_received() was triggered:
LWIP_ASSERT("client->msg_idx < MQTT_VAR_HEADER_BUFFER_LEN", client->msg_idx <
MQTT_VAR_HEADER_BUFFER_LEN);
I think client->msg_idx can be equal to MQTT_VAR_HEADER_BUFFER_LEN when buffer
is full.
It looks like this is fixed by
http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=2cc420e434744f9f217f2e68f39cf08379517a94
Can you check if it's working in current git master?
_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel