[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #65257] MQTT fragmentation is not working correctly
From: |
Gerard Zagema |
Subject: |
[lwip-devel] [bug #65257] MQTT fragmentation is not working correctly |
Date: |
Mon, 5 Feb 2024 03:03:19 -0500 (EST) |
URL:
<https://savannah.nongnu.org/bugs/?65257>
Summary: MQTT fragmentation is not working correctly
Group: lwIP - A Lightweight TCP/IP stack
Submitter: embitz
Submitted: Mon 05 Feb 2024 08:03:19 AM UTC
Category: apps
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 2.1.1
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 05 Feb 2024 08:03:19 AM UTC By: Gerard Zagema <embitz>
The current MQTT client 3.1.1 is not capable of receiving fragmented messages.
If your total message length (header+payload) exceeds the input buffer length
or the maximum TCP segment size, then MQTT fails to function correctly. This
could be a problem if you want to send larger messages or if the sending party
decides to reduce the maximum TCP segment size.
The solution presented here does not pretend to be the most beautiful or
smartest solution, but a solution with as few adjustments as possible to the
original.
Attaching files here doesn't work for me (re-attach???) but the files and more
info are here:
https://embitz.org/forum/thread-188.html
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?65257>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #65257] MQTT fragmentation is not working correctly,
Gerard Zagema <=