1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
Go to file
Tatiana Borisova 1316c02fe7 MQTT 5: Add Maximum Packet Size check
Disconnect with reason code 0x95 (Packet too large) if a packet
exceeds the Maximum Packet Size limit, as required by section 3.1.2.11.4
of the MQTT 5 spec.

Note: This fix doesn't protect against memory exhaustion in user apps.
It just implements the spec requirement about message limit.

Pick-to: 6.12
Task-number: QTBUG-149866
Change-Id: I2baa8ceb95e4a045437e2caa51e5508b2fa8b2eb
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2026-10-06 13:05:52 +00:00
coin Update to coin_module_test_template_v3.yaml 2026-08-17 09:51:21 +00:00
dist Remove year from Qt Copyright in REUSE.toml 2025-07-09 11:01:49 +02:00
examples Doc: Add alt text for \image tags for qtmqtt 2026-03-11 14:32:53 +01:00
LICENSES Add REUSE.toml files and missing licenses 2024-11-14 12:24:58 +00:00
src MQTT 5: Add Maximum Packet Size check 2026-10-06 13:05:52 +00:00
tests Read the Remaining Length as a variable byte integer everywhere 2026-09-01 17:40:37 +00:00
.cmake.conf Bump version to 6.13.0 2026-06-04 21:59:51 +00:00
.gitattributes Initial commit 2017-01-19 10:27:05 +01:00
.gitignore Add CMakeUserPresets.json to .gitignore 2024-11-28 18:02:47 +01:00
.gitreview Add .gitreview file 2025-03-24 15:22:02 +01:00
.tag Initial commit 2017-01-19 10:27:05 +01:00
CMakeLists.txt Move qt_internal_project_setup as early as possible 2025-06-20 15:33:39 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md file 2026-04-21 07:22:04 +00:00
dependencies.yaml Update dependencies on 'dev' in qt/qtmqtt 2026-09-30 21:41:02 +00:00
licenseRule.json Add CONTRIBUTING.md file 2026-04-21 07:22:04 +00:00
REUSE.toml Add CONTRIBUTING.md file 2026-04-21 07:22:04 +00:00