1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
Go to file
Tatiana Borisova 5b5aa01569 PINGRESP from the network should not push the counter below zero
- finalize_pingresp() lowers m_pingTimeout every time, with no lower
limit. A broker can send a pile of unasked-for replies to push the
counter deep below zero, and then the client can spend some unexpected
amount of time to reach back the number that means:
"the broker has stopped answering, drop the link.”
- The fix prohibits pushing the counter below zero.

Task-number: QTBUG-149662
Pick-to: 6.8
Change-Id: I7b25e8ac3f83fa262a19010df9a91b2ee1c006fd
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 33538c5143)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 88430cff7a)
2026-09-01 19:12:35 +00:00
coin Update to coin_module_test_template_v3.yaml 2026-08-17 12:02:57 +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:31:33 +00:00
LICENSES Add REUSE.toml files and missing licenses 2024-11-14 12:24:58 +00:00
src PINGRESP from the network should not push the counter below zero 2026-09-01 19:12:35 +00:00
tests Tst_QMqttSubscription: fix -Wunused-lambda-capture 2026-03-24 08:37:57 +00:00
.cmake.conf Bump version to 6.11.3 2026-08-12 11:44:16 +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
dependencies.yaml Update dependencies on '6.11' in qt/qtmqtt 2026-09-01 08:13:15 +00:00
licenseRule.json Update licensing of files with infrastructure type 2025-03-14 13:37:56 +01:00
REUSE.toml Remove year from Qt Copyright in REUSE.toml 2025-07-09 11:01:49 +02:00