Commit Graph

1608 Commits

Author SHA1 Message Date
Ian Craggs 3b7ae6348b Update docs 2021-05-24 19:53:54 +01:00
Ian Craggs 47299d979f Merge branch 'develop' 2021-05-24 18:03:42 +01:00
Ian Craggs de1bc380f5 Change version to 1.3.9 2021-05-24 17:32:09 +01:00
Ian Craggs ccb72a27f0 Reset ping_due on close session #1027 2021-05-06 13:38:47 +01:00
Ian Craggs ef9b4c7cc6 LOG_ERROR trace level and trace default for HIGH_PERFORMANCE #1026 2021-05-04 17:38:43 +01:00
Ian Craggs da998eab07 Don't allow duplicate connect/disconnect commands #1082 2021-05-04 17:37:10 +01:00
Ian Craggs a2891d8367 Add some PAHO_HIGH_PERFORMANCE builds 2021-05-03 18:41:58 +01:00
Ian Craggs 9801999821 MinGW32 build warnings fixes - #984 2021-05-03 14:38:50 +01:00
Stanislav Ravas 083f756d71 Generate shlibs control file for debian package
Without the control file, dpkg-shlibdeps won't recognize this package.
Depending packages created by library user would end up without
dependency on libpaho-mqtt.

Signed-off-by: Stanislav Ravas <ravas@tind.sk>
2021-05-03 14:14:14 +01:00
Roman Ondráček b64db5d82e Fix CMake targets install path
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
2021-05-03 14:12:17 +01:00
Ian Craggs e6b34b7b5b Return code on Windows #1054 2021-05-03 11:26:11 +01:00
Ian Craggs 97da169b53 Warning message for situation described in #1007 2021-05-03 11:20:46 +01:00
Ian Craggs 765fc82576 Fix a use before free 2021-04-30 19:01:11 +01:00
Ian Craggs dfc646c551 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2021-04-30 17:14:25 +01:00
Ian Craggs 82cfe4c06e Cater for when ping can't be sent due to TCP buffer full #1027 2021-04-30 17:12:41 +01:00
Ian Craggs 5fb438e96b Handle delayed websocket upgrade #1061 #1047 2021-04-28 21:29:36 +01:00
Ian Craggs 7e96652613 Set Windows return code correctly from Thread_create_sem #1064 2021-04-28 16:18:11 +01:00
Ian Craggs b2b9307b13 Some fields shouldn't be static #1085 2021-04-28 15:41:13 +01:00
Sander van Harmelen b27bbd6fc7 Make sure to initialize the mask on the Publish struct
After a lot of debugging we found this to be the root cause of the
corruption reported in #1079

When not initializing the mask properly, the
[check](https://github.com/eclipse/paho.mqtt.c/blob/master/src/WebSocket.c#L274)
to see if a mask already exists might fail (depending on the existing
data in that part of the memory) which then means that whatever is in
the mask will be used for masking the data.

Fixes #1079

Signed-off-by: Sander van Harmelen <sander@vanharmelen.nl>
2021-04-28 14:52:07 +01:00
Ian Craggs 907be06cb9 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2021-04-27 16:31:57 +01:00
inobelar 3fd0b16e0b Minor params names fix: new -> t_new, old -> t_old
Signed-off-by: Yurii Nakonechnyi <inobelar@gmail.com>
2021-04-27 16:30:35 +01:00
Ian Craggs 674ce08bba Allow for command failure on MacOS 2021-04-01 13:51:29 +01:00
Ian Craggs bad52d797d Allow time for broker to end and report in Travis build 2021-04-01 13:20:53 +01:00
Ian Craggs 7e73ccf231 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2021-04-01 13:02:20 +01:00
Ian Craggs c855f61d43 Try correcting kill broker 2021-04-01 13:00:41 +01:00
Ian Craggs 88ad7e5251 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2021-04-01 13:00:29 +01:00
Ian Craggs 6a95c4ca73 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2021-04-01 12:41:37 +01:00
Ian Craggs f289a13a0e Try to terminate broker for coverage figures 2021-04-01 12:41:13 +01:00
Ian Craggs a7f0e9a364 Check for msgid data length in incoming packets #1084 2021-03-22 17:57:07 +00:00
Dane Walton b83aee48cb add missing NULL to mqtt initializer
Signed-off-by: Dane Walton <dawalton@microsoft.com>
2021-03-15 20:23:09 +00:00
Ian Craggs 7d0a549a02
Merge pull request #1036 from fpagliughi/persist-key-len
#1035 Increased persistence key buffer size
2021-03-15 19:36:37 +00:00
Ian Craggs 8d0d1074d8 Add initializer fields #1067 2021-02-18 16:27:42 +00:00
Ian Craggs 802ba5c614
Merge pull request #1046 from Foxhound31/fix_close_thread_handle
Fix issue with thread handles on Windows platform (close them after thread creation)
2021-01-28 20:21:02 +00:00
Ian Craggs 64a5ff3c3b
Merge pull request #1054 from jumoog/master
Add a note to attach the logs as a file rather than text.
2021-01-28 20:17:52 +00:00
Kilian von Pflugk 4af7a61b25 Add a note to attach the logs as a file rather than text.
Signed-off-by: Kilian von Pflugk <github@jumoog.io>
2021-01-23 18:57:05 +01:00
Vadim Kretov 14bb523bce Move CloseHandle() call into Thread_start(), now Thread_start() is void function
Signed-off-by: Vadim Kretov <vadim.kretov@gmail.com>
2021-01-21 17:53:24 +03:00
Ian Craggs 7e8e0a83ad
Merge pull request #1045 from sandro97git/fix-libanl-absolute-path
remove absolute paths in cmake package conf
2021-01-20 18:55:56 +00:00
Vadim Kretov f321f91312 Fix issue with thread handles on Windows platform (close them after thread creation)
Signed-off-by: Vadim Kretov <vadim.kretov@gmail.com>
2021-01-20 13:59:15 +03:00
Sandro Scherer 34fdef6096 remove absolute paths in cmake package conf
Signed-off-by: Sandro Scherer <sand.scherer@gmail.com>
2021-01-20 10:19:59 +01:00
fpagliughi c764361013
#1035 Increased persistence key buffer size
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2021-01-06 18:33:19 -05:00
Ian Craggs 317fb008e1 Update online docs 2020-12-26 13:20:04 +00:00
Ian Craggs 12f7b0e0ff Allow files starting with underscore to be viewed in Github pages 2020-12-26 13:14:40 +00:00
Ian Craggs 69b893de91 Merge branch 'develop' 2020-12-26 12:18:20 +00:00
Ian Craggs 778fd5b4e1 Update version patch number 2020-12-26 12:17:43 +00:00
Ian Craggs b67cf503c9 Remove potentially misleading comments 2020-12-24 21:22:18 +00:00
Ian Craggs 9942cb107a Allow tracing to be lowered to ERROR #1000 2020-12-22 16:17:08 +00:00
Ian Craggs 466965509a Update token doc #1025 2020-12-22 16:04:01 +00:00
Ian Craggs 1317664e2e Change ownership of memory in MQTTAsync_updateConnectOptions #1024 2020-12-15 15:35:34 +00:00
Ian Craggs 0582ec2848 Correct basic auth encoding in HTTP proxy settings #1022 2020-12-14 14:27:01 +00:00
Ian Craggs bb7417146e Remove unused exit #998 2020-12-14 12:48:30 +00:00