Commit Graph

391 Commits

Author SHA1 Message Date
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 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 6e5366b9af
Ensure env variable is set 2026-02-10 18:18:37 +00:00
Ian Craggs 695ef2cbd9
Correct evt_secondary definition 2026-02-01 15:31:18 +00:00
Ian Craggs c484bd985d
Update copyright statement dates 2026-01-29 16:31:04 +00:00
fpagliughi a420ba1cf8 Combined event object implementations across platforms 2026-01-14 14:58:17 -05:00
fpagliughi 6a71f1c216 Replaced platform-specific mutex creation/destruction with calls to code in Thread.c 2026-01-10 14:00:35 -05:00
fpagliughi 2b6c15678b Started merging semaphores and condition variables into a single 'event' type. 2026-01-10 10:07:20 -05:00
Ian Craggs 7a7519c9f6
Add tls: test 2025-08-15 17:04:31 +01:00
Ian Craggs a3275de903
Merge branch 'cond-var-timeout' of github.com:fpagliughi/paho.mqtt.c into fpagliughi-cond-var-timeout 2025-08-14 16:17:51 +01:00
Ian Craggs 8e0029a5b6
Update thread.c - fix Windows build where EAGAIN is not defined 2025-08-14 14:09:45 +01:00
fpagliughi 05e6d71f6f Fixed condition variable timed wait. Updated thread test for current implementation. 2025-01-13 09:43:49 -05:00
fpagliughi 1bb2e691e1 - Removed unnecessary _WIN64 conditional checks
- Fixed some conditional compilation using (WIN32) to (_WIN32)
2025-01-09 16:09:38 -05:00
Ian Craggs 69c694227d Fix some compile warnings (on Windows build) 2024-12-26 16:17:27 +00:00
Ian Craggs 25bca9dd55 Add test for calling onFailure when removing queued publish #1542 2024-12-20 08:43:38 +00:00
Ian Craggs e84b19bab0 Fix compile warnings 2024-04-18 14:04:46 +01:00
Ian Craggs 6e6488d908 Merge branch 'master' of github.com:marcfir/paho.mqtt.c into marcfir-develop 2024-04-17 11:24:08 +01:00
Ian Craggs bcbe0f10ae
Merge pull request #1428 from fpagliughi/cmake-update
CMake cleanup, bump to v3.5, and submodule improvements
2024-04-02 16:15:41 +01:00
Ian Craggs 7fabf60235 Fix compile warnings about no function prototype 2024-04-02 16:06:38 +01:00
marcfir 24869259a4
Support build against LibreSSL 2024-02-16 10:03:13 +00:00
fpagliughi a1837f44f5 Added namespace aliased library targets for subdirectory builds 2023-12-03 21:09:59 -05:00
fpagliughi 80feb203c8 Fixed formatting in CMake files. 2023-12-03 20:39:06 -05:00
Ian Craggs afb5e871ba Rename public Threading functions to avoid clashes #1313 2023-10-10 12:20:56 +01:00
Ian Craggs 5ce322200d Free some allocated test memory 2023-05-25 10:04:48 +01:00
Ian Craggs 08132d4cd7 Correct some memory accesses 2023-05-17 17:59:10 +01:00
Ian Craggs f8c1e0dbed Update expired TLS certificates 2023-04-13 15:55:13 +01:00
fpagliughi cfc5aaa3bf Added documentation for mqtt:// and mqtts:// protocols. Changed some tests and samples to use them. 2022-09-27 20:26:30 -04:00
Ian Craggs bb7bd8f751 Remove debug from CI tests 2022-07-02 18:20:55 +01:00
Ian Craggs 6ef109dbfb Change trace level 2022-07-01 12:03:40 +01:00
Ian Craggs 90ef1087fb Add test trace debug 2022-07-01 11:41:33 +01:00
Ian Craggs 17fd7a8446 Add some assertions to test5 2022-06-30 19:31:24 +01:00
Ian Craggs e065cd28d1 Add debug for some tests 2022-06-30 18:46:16 +01: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 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 fa410ae37d More test8 debug 2022-02-08 21:44:34 +00:00
Ian Craggs be636e0b84 Add test8 debug 2022-02-08 17:51:38 +00:00
Ian Craggs 51559f5224 Debug variation 2022-02-07 14:53:04 +00:00
Ian Craggs 9f5a4a322d More debugging 2022-02-07 10:01:35 +00:00
Ian Craggs af76f620fa Narrow down test debug 2022-02-06 22:38:54 +00:00
Ian Craggs 140418771c Some more test adjustments 2022-02-06 17:03:12 +00:00
Ian Craggs 8d1aa132c2 Add further poll debug 2022-02-06 15:07:20 +00:00
Ian Craggs 6a68f4420c Add test debug and lengthen some timeouts 2022-02-06 13:07:36 +00:00
Ian Craggs 333bc57ffe Add some debugging 2022-02-05 19:52:54 +00:00
Ian Craggs a43528ba96 Use poll instead of select #1033 2022-02-04 17:23:56 +00:00
Ian Craggs d5b1f6a686 Add a loop in test15 test 4 to allow more time for protocol exchanges to complete 2022-01-28 17:01:58 +00:00
Ian Craggs b79bcf0d40 Update out of date mqtt server hostnames 2022-01-27 16:41:46 +00:00
Ian Craggs d1744cca8e Shorten message size for test8/test8 2021-09-13 15:22:03 +01:00
Ian Craggs 490873f229 Test8 debug 2021-09-13 14:57:13 +01:00