Commit Graph

2038 Commits

Author SHA1 Message Date
Ian Craggs 5b0c7ff396
Allow Windows build to succeed 2026-07-21 15:08:03 +01:00
Ian Craggs 8c1d4cd15e
Build when HIGH_PERFORMANCE is true 2026-07-18 15:09:42 +01:00
Ian Craggs 72db3db996
Update copyright header for AI 2026-07-17 22:58:32 +01:00
Ian Craggs 473df4d94c
Some further tests principally by Claude.ai 2026-07-17 22:57:55 +01:00
Ian Craggs bc20f4d739
Better control of sending DISCONNECT + reason code
Use maxInflight messages to control incoming window for MQTT 3.1.1
2026-07-17 22:49:31 +01:00
Ian Craggs 1086e2374f
Add static build to correct workflow 2026-07-15 12:20:06 +01:00
Ian Craggs ded5b3e790
Add static build for Linux 2026-07-15 11:28:07 +01:00
Ian Craggs 8e67525301
Check incoming and outgoing max queued QoS > 0 messages 2026-07-13 18:37:54 +01:00
Ian Craggs 2260f5a5e0
Check that the properties length isn't longer than the remaining packet data 2026-07-13 12:50:34 +01:00
Ian Craggs 5d5b1d2e26
Add check to avoid uninitialized free 2026-07-06 17:37:56 +01:00
Ian Craggs 7fa61f31f1
Fix V5 properties reading of incorrect packets 2026-07-06 16:41:37 +01:00
Ian Craggs 17f9b529c5
Update build config to suppress warnings 2026-07-06 16:19:54 +01:00
Ian Craggs 50515fb090
Remove unused function MQTTPacket_free_packet 2026-07-02 13:49:06 +01:00
Ian Craggs 69d6ddd300
Fix indentation complaints on MacOS make 2026-07-02 13:47:25 +01:00
Ian Craggs 66518b116d
Update code of conduct 2026-06-04 16:33:04 +01:00
Ian Craggs bf8d71637c
Remove extraneous Heap.h include #1649 2026-03-06 09:47:01 +00:00
Ian Craggs 3cbacd05ec
Update version numbers and copyright dates 2026-02-19 12:57:48 +00:00
Ian Craggs e090f20680
Correct copyright statement in src/Base64.c 2026-02-18 21:36:59 +00:00
Laurenz Altenmüller 85f397e55c
Enable building with BoringSSL
Signed-off-by: Laurenz Altenmüller <git@laure.nz>
2026-02-18 18:21:55 +00:00
Ian Craggs 627958f329
Call send_connect when SSLSocket_connect succeeds #1607 2026-02-18 17:54:26 +00:00
Ian Craggs 0430e003dd
Report error when PUBACK is received for QoS 2 #1617 2026-02-18 16:28:45 +00:00
Ian Craggs e612d0810e
Correct copyright dates 2026-02-16 17:05:24 +00:00
Sven Trittler 6affc7809d
fix qnx compile errors 2026-02-16 17:03:00 +00:00
Ian Craggs afcdeb5945
Ensure return value is not 1 when memory allocation fails #1618 2026-02-16 16:48:26 +00:00
Ian Craggs cfcff0aa5d
Check for NULL return #1640 2026-02-14 16:56:44 +00:00
Ian Craggs 200b0e4697
Fix OOB in payload format #1644 2026-02-14 16:04:23 +00:00
Roman Ondráček 384e663377
fix(man): fix format
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
2026-02-13 16:09:45 +00:00
dream 3f5b987f3b
Fix memleak which is reported by cppcheck.
Signed-off-by: dream <dreamoftime0@gmail.com>
2026-02-13 16:03:13 +00:00
Ian Craggs 343506e6cb
Update copyright dates 2026-02-13 15:59:50 +00:00
Konstantin Tyurin e8b6b3742a
Document tls:// prefix
Signed-off-by: Konstantin Tyurin <konstantin@pluraf.com>
2026-02-13 15:59:14 +00:00
Zhao Yang 86b11bd556
Modify the conditions for successful execution of SSLSocket_setSocketForSSL() 2026-02-13 15:49:53 +00:00
Ian Craggs 9f76932acf
Check return value from SSL_new 2026-02-13 15:42:53 +00:00
Ian Craggs 447fddcad8
Merge branch 'develop' of github.com:eclipse-paho/paho.mqtt.c into develop 2026-02-13 14:06:29 +00:00
Ian Craggs 2d47a7e62d
Merge pull request #1645 from fpagliughi/clang_format
Added a .clang-format file and bash script to run it
2026-02-13 13:43:50 +00:00
Ian Craggs 6f97eca1ff
Merge pull request #1646 from fpagliughi/minor_tweaks_nodelay
Fixed warning in Window build for TCP_NODELAY
2026-02-13 13:43:31 +00:00
fpagliughi 4ab5e089bb Fixed warning in Window build for TCP_NODELAY 2026-02-13 00:59:48 -06:00
Ian Craggs a353a11b8c
Get rid of unused var 2026-02-12 16:59:39 +00:00
Ian Craggs fa7c02e9f5
Set TCP_NODELAY by default, CMake option to not use it #530 2026-02-12 15:17:43 +00:00
Ian Craggs 913ee39d24
Add __func__ macro for Windows 2026-02-12 14:31:03 +00:00
Ian Craggs fd46e0b857
Add headers for Windows 2026-02-12 13:57:41 +00:00
Ian Craggs 2b1417e842
Merge branch 'develop' of github.com:eclipse-paho/paho.mqtt.c into develop 2026-02-12 13:51:03 +00:00
Ian Craggs 9a35ea7948
Squashed commit of the following:
commit e131ec19cc4193d13310f1fa51e1d8e83d18a8a2
Merge: eae1454 fd94689
Author: Ian Craggs <icraggs@gmail.com>
Date:   Thu Feb 12 11:48:35 2026 +0000

    Merge branch 'fix-ssl-handshake-want-write' of github.com:spencerbug/paho.mqtt.c into spencerbug-fix-ssl-handshake-want-write

commit fd946895c7
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Fri Nov 14 08:14:20 2025 -0600

    #1627 Fixed failing unit tests

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 2d23bf0f61
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:22:15 2025 -0600

    #1627 Added unit test integrated as test-ssl-want-write-handshake in ctest suite

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 7ce39d2db1
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:21:33 2025 -0600

    #1627 Fix SSL handshake WANT_WRITE handling by adding to pending-write poll set.

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 010c5cd44a
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:25:25 2025 -0600

    Merge branch 'master' of https://github.com/spencerbug/paho.mqtt.c into fix-ssl-handshake-want-write

commit 651b71d1be
Merge: 5571f9b c4381a7
Author: Spencer Neilan <spencer.neilan@gmail.com>
Date:   Thu Nov 13 16:23:30 2025 -0600

    Merge pull request #1 from eclipse-paho/master

    Sync
2026-02-12 13:48:44 +00:00
Ian Craggs 3c7f634a30
Squashed commit of the following:
commit e131ec19cc4193d13310f1fa51e1d8e83d18a8a2
Merge: eae1454 fd94689
Author: Ian Craggs <icraggs@gmail.com>
Date:   Thu Feb 12 11:48:35 2026 +0000

    Merge branch 'fix-ssl-handshake-want-write' of github.com:spencerbug/paho.mqtt.c into spencerbug-fix-ssl-handshake-want-write

commit fd946895c7
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Fri Nov 14 08:14:20 2025 -0600

    #1627 Fixed failing unit tests

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 2d23bf0f61
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:22:15 2025 -0600

    #1627 Added unit test integrated as test-ssl-want-write-handshake in ctest suite

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 7ce39d2db1
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:21:33 2025 -0600

    #1627 Fix SSL handshake WANT_WRITE handling by adding to pending-write poll set.

    Signed-off-by: Spencer Neilan <jneilas@jci.com>

commit 010c5cd44a
Author: Spencer Neilan <sneilan@shoppertrak.com>
Date:   Thu Nov 13 16:25:25 2025 -0600

    Merge branch 'master' of https://github.com/spencerbug/paho.mqtt.c into fix-ssl-handshake-want-write

commit 651b71d1be
Merge: 5571f9b c4381a7
Author: Spencer Neilan <spencer.neilan@gmail.com>
Date:   Thu Nov 13 16:23:30 2025 -0600

    Merge pull request #1 from eclipse-paho/master

    Sync
2026-02-12 12:19:33 +00:00
x152152 092e2c4682
Fix: Use thread-safe MQTTAsync_Socket_noPendingWrites in MQTTAsync pending writes handling
Signed-off-by: x152152 <604047286@qq.com>
2026-02-12 11:04:34 +00:00
Ian Craggs 04b7199798
Make some trace statements less frequent 2026-02-12 11:00:28 +00:00
fpagliughi 88f6011583 Added a .clang-format file and bash script to run it over the directory tree. 2026-02-11 15:58:38 -05:00
Ian Craggs 6e5366b9af
Ensure env variable is set 2026-02-10 18:18:37 +00:00
Ian Craggs cb4f7ea1ea
Remove printf I'd forgotten #1430 2026-02-10 18:17:01 +00:00
Ian Craggs 375e76d86a
Reduce latency on connect #1430 (#1642)
* Reduce latency of connect #1430

* Add a Windows implementation of socketpair

* Change type of interrupt sockets from int to SOCKET

* Clean up the connect latency reduction fixes #1430
2026-02-10 17:54:00 +00:00
Ian Craggs 02db68bf76
Use macros instead of constants to eliminate compile warnings 2026-02-07 21:56:17 +00:00