Ian Craggs
0995176412
Update docs
2022-09-29 11:38:04 +01:00
Ian Craggs
50be7f8045
Merge branch 'develop'
2022-09-29 11:33:10 +01:00
Ian Craggs
4ec7ec3cb2
Update version to 1.3.11
2022-09-29 11:23:27 +01:00
Ian Craggs
697f4008fa
Add doc to highlight WebSocket connect option initializers #724
2022-09-29 10:59:42 +01:00
Finlay Morrison
87fc8162d5
fixed error in comment
2022-09-28 16:57:10 +01:00
Ian Craggs
749515ddc7
Add Frank's musl thoughts to README #901
2022-09-28 16:52:00 +01:00
Jonliu1993
7761747083
Add vcpkg installation instructions
2022-09-28 16:35:05 +01:00
Ian Craggs
8419ce091e
Merge branch 'fpagliughi-mqtt-protocol-url' into develop
2022-09-28 16:12:16 +01:00
Ian Craggs
ee37c780cd
Merge branch 'mqtt-protocol-url' of https://github.com/fpagliughi/paho.mqtt.c into fpagliughi-mqtt-protocol-url
2022-09-28 16:11:56 +01:00
Ian Craggs
fc8e0d4a2b
Merge branch 'chenzhenhua5-develop' into develop
2022-09-28 16:09:55 +01:00
Ian Craggs
951a263dcd
Fix up suback count check
2022-09-28 14:19:29 +01:00
Ian Craggs
09ffa867e4
Merge branch 'develop' of https://github.com/chenzhenhua5/paho.mqtt.c into chenzhenhua5-develop
2022-09-28 13:58:40 +01:00
fpagliughi
cfc5aaa3bf
Added documentation for mqtt:// and mqtts:// protocols. Changed some tests and samples to use them.
2022-09-27 20:26:30 -04:00
Ian Craggs
d27fdd82a2
Merge branch 'fpagliughi-readme-updates' into develop
2022-09-27 14:37:48 +01:00
Ian Craggs
86db2e1cdc
Merge branch 'readme-updates' of https://github.com/fpagliughi/paho.mqtt.c into fpagliughi-readme-updates
2022-09-27 14:36:24 +01:00
Ian Craggs
0cd1cfe3cd
Merge pull request #1248 from finlaymorrison/comment-fix
...
fixed error in comment
2022-09-27 14:18:29 +01:00
Ian Craggs
7cfd87223e
Fix install list #1260
2022-09-27 14:17:10 +01:00
Ian Craggs
772a83ba1c
Add thread names if possible #1100
2022-09-27 13:11:52 +01:00
Ian Craggs
14bc391398
Fix some types to allow USE_SELECT to build on Windows #1271
2022-09-26 12:19:47 +01:00
Ian Craggs
4da5ef65e2
Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop
2022-09-24 10:19:21 +01:00
Ian Craggs
9b7ae98783
Allow topic and payload to be returned in publish onSuccess/onFailure callbacks #1133
2022-09-23 18:07:29 +01:00
Ian Craggs
7249106011
Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop
2022-09-22 17:39:04 +01:00
fpagliughi
569089e282
Added URI protocol prefixes, 'mqtt://' for TCP, and 'mqtts://' for SSL/TLS.
2022-09-21 00:00:51 -04:00
chenzhenhua5
32c6b58ab9
Fix array out of bound issue when receive invalid suback packet.
...
WHAT: when call MQTTClient_subscribe interface to subscribe topics,
the SUBSCRIBE packet would be sent to broker, the according SUBACK
packet would be returned, if the SUBACK packet returncodes amount
is not consist with the SUBSCRIBE packet topic amount, the array
out of bound issue could hanppend.
WHY: In MQTTClient_subscribeMany5 function, after internal
MQTTClient_waitfor function called, the SUBACK packet is received,
traverse the qoss list to get the qos, the qos info would be stored
in the current function param array "qos", but the array bound is
not check when accessing, therefore, the out-of-bound issue would
taken place.
How: check the size of array "qos" to avoid out-of-bound issue
Reviewed by: caojianlong <caojianlong@huawei.com>
Test by: shilei <shilei10@huawei.com>
Signed-off-by: chenzhenhua5 <chenzhenhua5@huawei.com>
2022-08-30 15:02:08 +08:00
Ian Craggs
3e256e60d3
Explain that token in responseOptions is output only #1238
2022-07-15 19:25:28 +01:00
Finlay Morrison
4125eb92a5
fixed error in comment
2022-07-14 16:49:16 +01:00
Ian Craggs
22c39ce878
Don't call unlock if lock fails #1235
2022-07-14 12:49:38 +01:00
Ian Craggs
396d03ff6b
Improve automatic reconnect parameter documentation
2022-07-14 11:52:08 +01:00
Ian Craggs
9957c32e6b
Free allocated protos field if necessary
2022-07-14 11:51:05 +01:00
Ian Craggs
35d9e411da
Merge pull request #1245 from TonyC-code/develop
...
Update MQTTAsync.c
2022-07-13 23:53:34 +01:00
Ian Craggs
bb7bd8f751
Remove debug from CI tests
2022-07-02 18:20:55 +01:00
Ian Craggs
0465673753
Ping processing when sockets being used by large messages
2022-07-02 13:22:23 +01:00
Ian Craggs
6ef109dbfb
Change trace level
2022-07-01 12:03:40 +01:00
Ian Craggs
90ef1087fb
Add test trace debug
2022-07-01 11:41:33 +01:00
Ian Craggs
17fd7a8446
Add some assertions to test5
2022-06-30 19:31:24 +01:00
Ian Craggs
e065cd28d1
Add debug for some tests
2022-06-30 18:46:16 +01:00
Ian Craggs
beab682ea6
Add some NULL checks on parameters #1233
2022-06-30 15:21:30 +01:00
TonyC-code
928f3a3249
Update MQTTAsync.c
2022-06-30 15:21:27 +01:00
Ian Craggs
306a4b4c16
Point to correct doc location #1240
2022-06-30 14:51:44 +01:00
Ian Craggs
66a65bfb53
Skip close code when socket count is 0 for the poll implementation
2022-06-30 13:03:20 +01:00
Ian Craggs
6f276a3ea0
Ensure reconnect attempts continue if connect command add fails #1215
2022-06-29 17:37:41 +01:00
TonyC-code
f45a442380
Update MQTTAsync.c
2022-06-29 11:43:18 +01:00
fpagliughi
23393131fb
Update of README with hints on using CMake for MQTT client apps.
...
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2022-05-30 23:57:19 -04:00
Ian Craggs
56c6151e9b
Fix some timing issues in some scenarios for the poll implementation
2022-05-26 21:26:39 +01:00
Ian Craggs
22690b8881
To avoid a startup delay, don't increase cycle read timeout until some work is ready
2022-05-26 21:25:09 +01:00
Ian Craggs
f54f10ec10
Set username and password fields to NULL if not used #1227
2022-05-20 13:26:34 +01:00
Ian Craggs
e72f39ffba
Add security and code of conduct directly
2022-04-08 17:41:13 +01:00
Ian Craggs
9798913282
Protect running variable #1214
2022-04-04 13:06:51 +01:00
Ian Craggs
556cd56834
Add funding button
2022-03-29 14:48:39 +01:00
Ian Craggs
bd89654c5f
Correct linux build artifact filename
2022-03-28 17:01:40 +01:00