Commit Graph

1719 Commits

Author SHA1 Message Date
Ian Craggs eff2da4875 Update docs for 1.3.10 2022-03-28 12:45:52 +01:00
Ian Craggs 515ddba5fa Merge branch 'develop' 2022-03-28 12:34:19 +01:00
Ian Craggs 29ed338abc Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2022-03-22 15:03:24 +00:00
Ian Craggs 0b31833ade Update patch version number 2022-03-22 15:02:26 +00:00
Ian Craggs 4b9103bc31 Make #1203 fix work across multiple clients 2022-03-22 15:00:05 +00:00
Ian Craggs 6af66f31e2 Update tests so they don't try to assign a now invalid value #1193 2022-03-07 20:30:59 +00:00
Ian Craggs 5bb49f8772 Ensure options aren't null #1193 2022-03-07 17:42:25 +00:00
Ian Craggs 045ce2d492 Don't allow maxBufferedMessages to be set to 0 #1193 2022-03-07 11:20:41 +00:00
Ian Craggs b36c86e3ba Add warning about API calls in trace callback #1200 2022-03-07 11:03:37 +00:00
Ian Craggs 5fa7baf227 If first round of commit retries doesn't finish, complete it later #1203 2022-03-04 10:50:29 +00:00
Ian Craggs 5bf0e00ea2 Free data on SSL abort write #1206 2022-03-04 10:48:41 +00:00
Ian Craggs 743ff1be69 Ensure return code from Socket_new is SOCKET_ERROR on error #1192 2022-02-19 18:25:10 +00:00
Ian Craggs 0f0e5e4d92 Send QoS 2 responses under more circumstances #1114 2022-02-19 18:14:50 +00:00
Ian Craggs c88c957e1a Merge branch 'locez-bugfix-double-free-for-qos0' into develop 2022-02-17 14:33:29 +00:00
Ian Craggs 82d4092a75 Merge branch 'bugfix-double-free-for-qos0' of https://github.com/locez/paho.mqtt.c into locez-bugfix-double-free-for-qos0 2022-02-17 12:58:00 +00:00
10km bd1c9e598a Update CMakeLists.txt
remove '-MD' in ADD_DEFINITIONS command. why add the -MD?
this -MD forcible control MSVC generate code with /MD option
if user want to compile with /MT by set option -DCMAKE_USER_MAKE_RULES_OVERRIDE=compiler_flag_overrides.cmake in command line,
the '-MD' definition cause it not work;
2022-02-17 12:53:50 +00:00
Ian Craggs 2485e0e80a Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2022-02-17 12:12:06 +00:00
Ian Craggs 78cb49db50
Merge pull request #1174 from andrey-starodubtsev/ssl_read_with_num_0
Prevent calling `SSL_read` with `num == 0`
2022-02-17 12:11:24 +00:00
Ian Craggs 3937812e0f Update copyright statements in changed samples 2022-02-17 11:24:00 +00:00
Ashechol e4b0f66ad6 Update paho_cs_pub.c
The function MQTTClient_connect() first var client should be MQTTClient, but in function myconnect() var client is a pointer of MQTTClient
2022-02-17 11:20:39 +00:00
Ashechol 864ce620e0 Update paho_cs_pub.c 2022-02-17 11:20:39 +00:00
Ashechol d00f6e9ac1 Update paho_cs_sub.c
Fixed myconnect()
2022-02-17 11:20:39 +00:00
Ian Craggs 8786689299 Remove debug again 2022-02-15 13:17:40 +00:00
Ian Craggs 9e887a2b28 Run all tests 2022-02-15 12:08:36 +00:00
Ian Craggs 7eeffadd82 More testing 2022-02-15 12:02:09 +00:00
Ian Craggs 79e216b0fd Increase debug tests 2022-02-15 11:46:01 +00:00
Ian Craggs 8ca1e5d625 Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2022-02-15 11:25:47 +00:00
Ian Craggs 655b87d22c Debug for Windows 2022-02-15 11:24:33 +00:00
Ian Craggs 22e841d917 Merge branch 'poll' into develop 2022-02-14 11:28:48 +00:00
Ian Craggs b35a2dc237 Avoid slow connect in MQTTAsync #1039 2022-02-14 10:30:59 +00:00
Ian Craggs b7455f3330 Fix select timeout calculation 2022-02-11 19:01:53 +00:00
Ian Craggs edf99c19b2 Merge branch 'poll' of github.com:eclipse/paho.mqtt.c into poll 2022-02-11 17:40:52 +00:00
Ian Craggs 90c3916819 Allow old select code to be used optionally 2022-02-11 15:55:52 +00:00
Ian Craggs 4b1389e6d8 Correct freeing of some persistence buffers 2022-02-11 14:10:44 +00:00
Ian Craggs 8d37b94c38 Correct freeing of some persistence buffers 2022-02-10 18:18:10 +00:00
Ian Craggs 1964b6697a Correct freeing of some persistence buffers 2022-02-10 18:09:15 +00:00
Ian Craggs 5780587c0e Some locking for callbacks 2022-02-10 18:05:13 +00:00
Ian Craggs de5e9509f7 Fix return code from getrawsocketdata 2022-02-10 18:02:51 +00:00
Ian Craggs 932cfbb62c Fix memmove length calculation 2022-02-09 20:25:19 +00:00
Ian Craggs 5b240c29a1 Reinstate all Windows tests 2022-02-09 11:11:16 +00:00
Ian Craggs 487d3a574f Remove test8 extra trace 2022-02-09 10:51:50 +00:00
Ian Craggs 7004cb8a28 Fix test8 and remove debug printfs 2022-02-09 10:49:39 +00:00
Ian Craggs f3c5df6376 Some locking for callbacks 2022-02-08 23:00:31 +00:00
Ian Craggs fa410ae37d More test8 debug 2022-02-08 21:44:34 +00:00
Ian Craggs 897aad789b Debug for test 8 2022-02-08 20:19:23 +00:00
Ian Craggs be636e0b84 Add test8 debug 2022-02-08 17:51:38 +00:00
Ian Craggs 33880dff72 Don't call poll if no sockets 2022-02-08 15:17:19 +00:00
Ian Craggs 60bf17c36e Remove debugging for Linux/MacOS 2022-02-07 18:11:08 +00:00
Ian Craggs 35a29737a2 Fix return code from getrawsocketdata 2022-02-07 17:45:14 +00:00
Ian Craggs 14fcec24bf Don't build high perf on Linux (for debug) 2022-02-07 15:04:50 +00:00