Commit Graph

1788 Commits

Author SHA1 Message Date
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
Ian Craggs cfa7ed8042 Reduce loop time for small keepalive #590 2020-10-29 16:27:15 +00:00
Ian Craggs 9492b70ee9 Shorten MQTTClient_run timeout #863 2020-10-29 15:52:07 +00:00
Ian Craggs 66cb9678db Allow finer grained keep alive #590 2020-10-29 15:19:28 +00:00
Ian Craggs 8c80329ff8 Clean up some deprecation warnings in tests 2020-10-28 10:50:21 +00:00
Ian Craggs 3b3ceb73a3 Finish MQTTAsync refactoring 2020-10-27 20:10:59 +00:00
Ian Craggs 332662ec6a Remove compile warnings in tests 2020-10-27 20:09:51 +00:00
Ian Craggs 8459ece206 Split MQTTAsync.c as it is getting a bit big 2020-10-27 19:24:26 +00:00
Ian Craggs f06f87868b Propagate data errors reading MQTT properties #986 #985 2020-10-27 12:49:59 +00:00
Ian Craggs b6f8b35708
Merge pull request #983 from vm-vloz/vm-vloz-2
Disconnect never occurs if QoS 2 messages are still in progress
2020-10-26 18:18:51 +00:00
vm-vloz 1eea3bbfaf Disconnect never occurs if QoS 2 messages are still in progress
Signed-off-by: vm-vloz <73361520+vm-vloz@users.noreply.github.com>
2020-10-23 13:48:19 -07:00
Ian Craggs 12cf61c191 Free response in sample; wait for completion 2020-10-22 15:45:47 +01:00
Ian Craggs 03d6a975bd Report back NULL pointers for topic/payload on QoS 0 partial write #929 #980 2020-10-22 14:02:21 +01:00
Ian Craggs 02c84506f6 Avoid attempted double free of payload and topic #929 2020-10-21 16:04:43 +01:00
Ian Craggs 1b1916aa9c
Merge pull request #953 from sandro97git/fix/ssl-socket-error-handling
handle ssl errors when processing buffered data
2020-10-21 12:01:37 +01:00
Ian Craggs ac12a2e32d
Merge branch 'develop' into fix/ssl-socket-error-handling 2020-10-20 18:08:33 +01:00
Ian Craggs 9e4d95b86d NULL out connect success/failure pointers once they've been used #972 2020-10-20 18:00:18 +01:00
Ian Craggs 2af94943bb Update test to avoid MQTT 3.1 when using proxy 2020-10-15 17:45:04 +01:00
Ian Craggs 79ae5ac843 Ensure connectionLost is called #974 2020-10-15 14:11:21 +01:00
Sandro Scherer 6318369632 handle ssl errors when processing buffered data
Signed-off-by: Sandro Scherer <sand.scherer@gmail.com>
2020-10-15 13:53:04 +02:00
Ian Craggs e4c3757524 Update tests to remove compile warnings on Ubuntu 20.04 2020-10-02 15:55:42 +01:00
Ian Craggs 56bdc829f5 Remove buffer overflow compile warnings 2020-10-02 14:07:16 +01:00
Ian Craggs 0722f28240 Apply maxInflightMessages to MQTT 3.1.1 as well as MQTT 5.0 2020-09-30 22:02:42 +01:00
Ian Craggs b5689b8f99 Get rid of annoying compile warning on make 2020-09-30 22:01:04 +01:00
Ian Craggs cb19818aeb Don't keep memory for publish commands that are persisted #777 2020-09-30 21:56:16 +01:00
Ian Craggs b3da4d6456 Update version number 2020-09-30 16:50:43 +01:00
Ian Craggs 6f46316473 Update SSLOptions doc 2020-09-30 16:49:58 +01:00
Ian Craggs 54a764f1a7 Some persistence test updates 2020-09-30 16:20:40 +01:00
Ian Craggs b721a27471 Correct header reference for cross-compile #959 2020-09-29 13:00:54 +01:00
Ian Craggs 784f4f9266 Don't allow persistence with 0 length client id #746 2020-09-29 11:53:29 +01:00
Ian Craggs f623732973 Check for disconnect in waitforcompletion #956 2020-09-29 11:19:27 +01:00
Ian Craggs cda4cb61c2 Free responses independently of properties #962 2020-09-29 10:35:28 +01:00
Ian Craggs 275843846d Reinstate call to ondisconnect #955 2020-09-29 10:23:48 +01:00
Ian Craggs 24f258572d Clarify that the msgid member of MQTTAsync_message is not an input parameter #952 2020-09-28 20:24:47 +01:00
Ian Craggs c5f745fc3c Add callbacks before writes and after reads from persistence #866 2020-09-28 20:21:10 +01:00
Ian Craggs 3b556e9890
Merge pull request #948 from jumoog/async_alpn
add missing alpn support to async
2020-09-28 16:17:39 +01:00
Ian Craggs 1c68f2b42a Don't restore the content of persisted commands until used #777 2020-09-28 14:22:11 +01:00
Ian Craggs d8a9f34479 Improve message loading times from persistence #835 2020-09-25 15:27:40 +01:00