| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I0711ea10c944951a0e285b9a68ce4a9decb3f8ff
Reviewed-by: hjk <hjk@qt.io>
|
|\ |
|
|/|
| |
| |
| | |
Change-Id: I19448cdd1f91a1506687870b2373ec449051ec51
|
| |
| |
| |
| |
| |
| |
| |
| | |
closeConnection() clears m_readBuffer, so that
`m_readBuffer.constData() + m_readPosition` accesses a disposed memory
Change-Id: Ide4e4d8fdafe81181fceb9ebe2692aaa25ba8034
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I79ef0c0160894b0179ee347468d85a04809ef6fc
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|\ \ |
|
|/| |
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/mqtt/qmqttclient.cpp
Change-Id: I2b050319270fb365416623998c758ab9ec63f69d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initially the keepAlive was considered to be specified in ms to more
match the Qt API. However, no server allows this granularity and the
specs also state seconds. Internally it was using this pattern already.
Change-Id: I0a25d1ef636c2b909997223c631dc248b613536c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A will message is allowed to be empty. Hence, check whether a will topic
exists to identify incorporating the last will to the connect message.
Task-number: QTBUG-76783
Change-Id: Ifb7f5467e8e7e70c6d9c050b36a35df2419f4171
Reviewed-by: hjk <hjk@qt.io>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
amortized O(1) for QHash VS. stable O(log n) for QMap
+ optimize usage cases by decreasing the amount of key lookups
Change-Id: I169b2d97f07854ce5aca030321820a866d0038ed
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
as per MQTT Version 5.0 Standard, `Maximum Receive` property
is the maximum amount of unaknowledged messages (QoS>0),
whilst `Maximum QoS` property is the message's maximum allowed QoS level.
Change-Id: Ia23b259a95f075f71b7eb090f48fc9143aeb4811
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
| | |
|
|\ \ |
|
|/| |
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
examples/mqtt/mqtt.pro
Change-Id: Ic76ff03e314e0d9761ba66372e19f546afcc7d6c
|
| |\ |
|
| |/|
| | |
| | |
| | | |
Change-Id: Idc042f181f76c71c4576a047db8257f04cc77ef0
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Examples requiring a user interface recently need to check for its
availability.
Task-number: QTQAINFRA-2576
Change-Id: I731dfee16bd1a9b5eb0396433213243dfa9b23da
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ice5a082f2a2a5e5341b8dbf0a2f0133ec8d303ca
|
| |
| |
| |
| |
| |
| |
| |
| | |
For MQTT 5 the fake server did not send any property information. Hence,
the client (potentially) read among the buffer.
Change-Id: I58c7d1b4a1f15a0803c04495c82537f648c8a642
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So far, the implementation relied on the datagrams received to be
correct. This can cause buffer overwrites, including crashes or worse.
While unlikely, verify that requested read size matches the existing
buffer.
Change-Id: I695318142348e58b3b9568135896c52da75109e7
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When users click the Qt version number on the bread crumb bar in
the Qt Qt MQTT docs, they are directed to the Qt for Automation
docs at doc.qt.io.
Change-Id: Ib59b3497dacb96049ddaaa440f596f2ea67822e1
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: If08d050a92db812e95a668d141d8774e56f9516e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I39d585f24bda2e68bc4d3bd0b3688a35f5923d53
|
| |
| |
| |
| | |
Change-Id: I4fda152a1d0a0b30314632060579a8533ea4fd23
|
| |\
| | |
| | |
| | | |
Change-Id: Ia12453b1db45e981400f6e7dd5757cc8630e6b4b
|
| |/
| |
| |
| |
| | |
Change-Id: I6e2461e8f7cdc4dd8f8164a94805c3145862d5d9
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The specs state that a client SHOULD disconnect after not receiving a
pingresp. So far, this needed to be checked manually. However, on Linux
a disrupted network connection does not imply QTcpSocket to switch to
disconnected state. Hence the client continues to consider the
connection active, leading to lost messages and incorrect state.
Task-number: QTBUG-74279
Change-Id: I6d8e540f7e89c621e5c010669085882d25440b0a
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I94bfa068ca236d14ba5bc41233129ba3a26f0d33
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This actually builds on wasm, just maybe not in the
CI system.
This reverts commit 354140278d2c42af5aa88ddcde7cde23494b396e.
Change-Id: I367e3bfc71e3a83313bf890cc4e9aab4ff7c43b6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I172b62a79d246327b4b112bc20adce5c305dbd18
|
| |
| |
| |
| |
| | |
Change-Id: Ibdc6326ea71378b09aeb89e3ee8cb612a4e302f4
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I25f5622a5f4c3848a661c6459754004791db29b2
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Id55888f5bc8e69b48a0dcce5b22a4f8db75885a8
|
| |
| |
| |
| |
| | |
Change-Id: I4619f40e7a0c76b19baca77132d47627db2ef715
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I610498dad3672c064f84596eba4b87a653d611f3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Other solutions provide minimal console applications for publishing and
subscribing, which can then be used as tools.
Task-number: QTBUG-69995
Task-number: QTBUG-71957
Change-Id: Ica4a856e25b540d089e1aa20f853b780c18d59dd
Reviewed-by: hjk <hjk@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I466f6fa0de9cf772701987c8cd697e2ab4060a28
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case the transport gets closed by invoking disconnectFromHost(), no
error code should be set.
Change-Id: I8f85ea6dd6ebe7dbe4e6eea8be48d286a3495a3a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The UI needed some minimal overhaul to be more consistent. Adapt the
layouts.
Change-Id: I7e3fdf38faca2264c768fd188bb381a78f6cf4d3
Fixes: QTBUG-64014
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I89fa51e54b845553aaad877a7d0cb30c21c5512b
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I79c9029b54949583ca436c3405d58483fe6637ad
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: Ia24cfcccd6d0e838aaddfacc452adba03e2e2789
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ccd80bb35be42c6278de20d1b7942c0af0dc993f
which breaks binary compatibility.
Change-Id: Ica34959914db592ce5a138b461cdf1d2f5994c5c
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: I495e1c269a8fec76f83229ae4900cf027dac85fc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If an error occures during the initial connection request,
this was not reflected in the state changes. Hence, we
close the connection on any type of error occurring.
Change-Id: I871be4600978f403af3637eac1ada70ff6ba06c3
Fixes: QTBUG-71795
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise might lead to side effects.
Task-number: QTBUG-71795
Change-Id: Iad2cbe7613e08d1f90f497d1d65ed2da924f0aeb
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
|\| |
| | |
| | |
| | | |
Change-Id: Ib1e1cfc0a7576527418bf63ed0198662114c3bfc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The example was missing that so far.
Change-Id: I312dc4e67cb801313bb4811ceced4b78f985e9ab
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|