Commit Graph

1575 Commits

Author SHA1 Message Date
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 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
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 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
Ian Craggs d439960181 Correct httpsProxy check #1021 2020-12-14 12:46:35 +00:00
Ian Craggs b283db8c2c
Merge pull request #1023 from fpagliughi/bool_update_connect_options
Removed hard-coded 1 as truth in updateConnectOptions callback return
2020-12-14 12:17:55 +00:00
fpagliughi edecc339e6
Removed hard-coded 1 as truth in updateConnectOptions callback return
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-12-13 11:56:27 -05:00
Ian Craggs c004408e07 Sentinel was left in command queue if not the first client restored #998 2020-12-12 12:18:02 +00:00
Ian Craggs de8288777b Invalid write fix #1013 2020-12-10 15:12:36 +00:00
Ian Craggs 4a8833a872
Merge pull request #1015 from svermigo/svermigo
Properly uninitialize OpenSSL - segfault after calling ERR_free_strings()
2020-12-10 14:44:13 +00:00
Ian Craggs 2da0a0c4cd
Merge pull request #1011 from deonmcclung/MultiSubConstFix
Correct constness on multi-subscription functions
2020-12-10 14:38:20 +00:00
Ian Craggs 85212bca7a Change rc from SSLSocket_createContext for SSL_CTX_set_alpn_protos #1005 2020-12-10 13:47:29 +00:00
Ian Craggs 13eec7a8d8 Fix typo #1018 2020-12-10 13:33:20 +00:00
Deon McClung 3b019596f3 Revert changes to topic parameter - causes warnings
Signed-off-by: Deon McClung <dmcclung.eclipse@gmail.com>
2020-12-08 09:10:44 -07:00
Igor Šverma bd78bd4b81 Properly uninitialize OpenSSL
Signed-off-by: Igor Šverma <igor@nibejpi.com>
2020-12-08 15:44:10 +01:00
Deon McClung b7cae57624 Correct constness on multi-subscription functions
Signed-off-by: Deon McClung <dmcclung.eclipse@gmail.com>
2020-12-04 17:13:10 -07:00
Ian Craggs 54185f334f
Merge pull request #1002 from fpagliughi/only-free-default-persistence-context
Only free the persistence context when using the default file persistence
2020-12-02 15:22:00 +00:00
fpagliughi b1c55a46cf
Only free the persistence context when using the default file persistence.
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-11-24 17:39:36 -05:00
Ian Craggs e047e25d34 Update version no to 1.3.7 2020-11-20 14:56:52 +00:00
Ian Craggs fcccc156cb Doc additions and fixes #978 748 2020-11-13 15:56:36 +00:00
Ian Craggs ecbdce2405 Remove printf #600 2020-11-10 16:12:57 +00:00
Ian Craggs a2b80b7ed8 some further HTTP proxy setting fixes #600 2020-11-10 15:53:45 +00:00
Ian Craggs 7a941781b4 Cleaning up HTTP proxy setting #600 2020-11-10 15:23:13 +00:00
Ian Craggs 6d80bd5538 Add HTTP proxy settings to connect options #600 2020-11-09 21:34:08 +00:00
Ian Craggs f7c7e9a990 Add option to set un/subscribe command timeout #673 2020-11-09 14:18:56 +00:00
Ian Craggs 43b1ec35a6 Add error trace if message arrived not set and message arrives #748 2020-11-02 18:06:53 +00:00
Ian Craggs 247f51be9b Install static samples #841 2020-11-02 12:56:14 +00:00
Ian Craggs 17197928cf Remove superfluous statement #706 2020-11-02 12:34:44 +00:00
Ian Craggs 158c2bfa2b Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2020-11-01 17:12:25 +00:00
Ian Craggs e0553efbf3 Check buffer length in restoreCommand #991
Correct pointer use in restoreCommands #990
2020-11-01 17:11:13 +00:00
Ian Craggs e7bada1aa3 Check buffer length in restoreCommand #991 2020-11-01 16:02:49 +00:00
Ian Craggs fdb1939e19 Missed snprintf redefinition #977 2020-10-31 11:55:24 +00:00
Ian Craggs a90a3b4723 Add some Windows compile needs for #977 2020-10-31 11:04:00 +00:00
Ian Craggs 1002a8e514 Add Windows def for snprintf #977 2020-10-30 15:02:53 +00:00
Ian Craggs bc0a346797 Replace sprintf with snprintf #977 2020-10-30 14:49:50 +00:00