Commit Graph

391 Commits

Author SHA1 Message Date
Ian Craggs a67785a372 Run all static tests 2020-02-05 16:30:54 +00:00
Ian Craggs 33bcce1ef8 Build static and shared versions of samples and tests. Start running tests 2020-02-05 15:07:57 +00:00
Deon McClung c116b725ff Make shared build optional
Signed-off-by: Deon McClung <dmcclung.eclipse@gmail.com>
2020-02-01 23:15:33 -07:00
Andreas Walter 397610be74 Merge branch 'develop' into reduce_symbol_visibility_in_cmake_linux_builds
Signed-off-by: Andreas Walter <andreas.walter@waltronix.de>
2020-01-27 08:42:48 +01:00
fpagliughi fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Andreas Walter e3fbd02afa make test certificate path independent of ci environment
Signed-off-by: Andreas Walter <andreas.walter@waltronix.de>
2020-01-21 11:53:15 +01:00
Ian Craggs 64cb7ec49e Remove unused vars from test 2020-01-20 17:12:40 +00:00
Andreas Walter c722744812 only set OPENSSL_SEARCH_PATH if not empty
Signed-off-by: Andreas Walter <andreas.walter@waltronix.de>
2019-12-31 11:51:08 +01:00
Ian Craggs 87a3f3d746 Merge branch 'master' into develop 2019-11-28 11:33:22 +00:00
Ian Craggs 2b3f90ac10 Improve pending tokens test 2019-11-28 11:25:31 +00:00
Ian Craggs 85049c3b78 Correct persisting of pubrel received publish messages in MQTT V5 2019-11-27 13:45:04 +00:00
Ian Craggs 35916d2207 Remove assertion which cannot be guaranteed to be true 2019-11-27 13:41:30 +00:00
Ian Craggs ac3ae38069 Correct persisting of pubrel received publish messages in MQTT V5 2019-11-26 14:20:17 +00:00
Ian Craggs 028fa7727a Improve test45 no 7 reliability 2019-10-01 13:17:58 +01:00
Ian Craggs fdf5387d1b Improve test5 TLS testing 2019-09-26 14:21:26 +01:00
Ian Craggs 33d9f45ae2 Run websocket MQTT V5 tests in Travis 2019-09-17 14:02:05 +01:00
Ian Craggs 20713e9b9c Updates for ws testing 2019-09-17 13:26:07 +01:00
Ian Craggs 41b22e2d8f Don't run CAPath tests on Windows 2019-08-03 14:50:32 +01:00
Ian Craggs 9e90ffb237 Force new build 2019-08-03 14:20:57 +01:00
Ian Craggs 7baf628f5b Add debug for test45-7 2019-08-03 00:13:36 +01:00
Ian Craggs 6fdcc7bd2b Debug test45 pending-tokens 2019-08-02 17:10:31 +01:00
Ian Craggs fd90bc4927 Big message test refactoring again 2019-08-01 18:37:33 +01:00
Ian Craggs f7abd15641 MQTT protocol debug for big message test 2019-08-01 14:07:08 +01:00
Ian Craggs 1dd931ae26 Correct big message test timing (2) 2019-08-01 12:10:15 +01:00
Ian Craggs 91a7727c0b Alternative debug method 2019-08-01 11:23:37 +01:00
Ian Craggs 59ea130410 Turn back on trace to debug big message test 2019-08-01 10:57:58 +01:00
Ian Craggs 555df54771 Update big message test for reliable timing 2019-08-01 10:16:49 +01:00
Ian Craggs 67041b420a Add temporary tracing for test5-7-big-messages to debug Travis MacOS failure 2019-07-31 17:44:33 +01:00
Ian Craggs 99d896fc56 Reduce size of message in big message test for Travis MacOS test 2019-07-30 20:40:41 +01:00
Ian Craggs 0168090fc0 Correct tests running in test5.c, including capath tests 2019-07-30 16:49:28 +01:00
Ian Craggs a033301fce Merge branch 'develop' of https://github.com/janderholm/paho.mqtt.c into janderholm-develop 2019-07-24 20:57:11 +01:00
fpagliughi 62e7f5c035
#681 The Eclipse MQTT sandbox server moved to new address, 'mqtt.eclipse.org' 2019-07-20 12:51:38 -04:00
Ian Craggs 6c3530f681 Remove unused sample 2019-06-20 11:27:47 +01:00
Ian Craggs 8064910808 Merge branch 'CApath_fix' of https://github.com/jumoog/paho.mqtt.c into jumoog-CApath_fix 2019-04-16 12:41:06 +01:00
Kilian von Pflugk 87450e252c add capath test
Signed-off-by: Kilian von Pflugk <github@jumoog.io>
2019-04-15 20:17:38 +02:00
Ian Craggs 5e86e6315f
Merge pull request #629 from tucic/session_present_not_set
Session present not set
2019-04-15 11:44:34 +01:00
Piotr Wach de778c934c Fix failing tests
Signed-off-by: Piotr Wach <pwach@bloomberg.net>
2019-03-22 14:06:37 +00:00
Milan Tucic 68f2bd21be Test session present flag on MQTTClient_connect (issue #627)
Signed-off-by: Milan Tucic <tucic.milan@gmail.com>
2019-03-14 11:38:39 +01:00
Johan Anderholm 19aa5bbbe6 Added tests for TLS-PSK
Signed-off-by: Johan Anderholm <johanam@axis.com>
2018-11-08 13:12:27 +01:00
Ian Craggs bc7fca4227 Final persistence test #534 2018-09-07 11:44:41 +01:00
Ian Craggs b4039d9963 Some more persistence changes along with tests #534 2018-09-07 11:32:25 +01:00
Ian Craggs 96ac7e1267 Fix Windows build and make tests more reliable #534 2018-09-06 15:55:44 +01:00
Ian Craggs 296fe57cd2 MQTT V5 persistence updates #534 2018-09-05 22:13:40 +01:00
Ian Craggs e24c1b4ce6 Some sample program and reason code improvements 2018-09-03 12:34:44 +01:00
Ian Craggs 4b355d1fd4 Fix for issue #524 2018-08-28 11:50:47 +01:00
Ian Craggs 354f84cbb7 See if this fixes old Windows compiler builds 2018-08-22 19:07:14 +01:00
Ian Craggs 5f8e65ebcc Another couple of compile warning fixes 2018-08-16 19:20:08 +01:00
Ian Craggs 7448d7bfa0 Eliminate some Windows compile warnings
Please enter the commit message for your changes. Lines starting
2018-08-16 19:14:00 +01:00
Ian Craggs 83c07c71d4 Monotonic build fixes #513 2018-08-13 19:00:02 +01:00
Ian Craggs 992af7ac02 Update documentation #503 2018-08-01 20:01:12 +01:00
Ian Craggs 205a5a201a Update utilities for MQTT V5 and websockets #504 2018-07-18 21:27:13 +01:00
Ian Craggs 02be5e7e19 Libs again 2! 2018-07-04 23:57:58 +01:00
Ian Craggs aeaa1fea0f Libs again 2018-07-04 23:51:45 +01:00
Ian Craggs b266088962 Need libs for Linux test build 2018-07-04 23:38:11 +01:00
Ian Craggs 8cf6c3e846 Oops, forgot the test file 2018-07-04 23:24:35 +01:00
Ian Craggs 3b23859ef5 Some threading tests 2018-07-04 18:58:57 +01:00
Ian Craggs d0f87d5850 MQTT V5 async tests for shared subs, subs options and request response #470 471 487 2018-07-02 12:43:42 +01:00
Ian Craggs 7dc676e5bd Add another batch of MQTT V5 tests #470 #471 #487 2018-06-28 16:36:31 +01:00
Ian Craggs d57c84b5cb Add QoS 2 error reporting #466 2018-06-27 16:37:40 +01:00
Ian Craggs 9bc5fbc422 Add error reporting tests 2018-06-26 10:47:51 +01:00
Ian Craggs 35080b1158 Report reason codes and properties back from un/subscribe #467 2018-06-25 23:35:34 +01:00
Ian Craggs 2aebba99ab Change MQTTClient cleansession to cleanstart for V5 #468 2018-06-22 12:52:47 +01:00
Ian Craggs 2bc9c403d4 MQTTV5 flow control (receive maximum) 2018-06-21 20:13:39 +01:00
Ian Craggs 5bfa672b30 Fix qos selection in test 2018-06-21 09:46:15 +01:00
Ian Craggs c949535213 Add subscription id test for MQTTAsync 2018-06-20 16:36:44 +01:00
Ian Craggs 0ec33aee56 Add subscription id test for MQTTClient 2018-06-20 15:41:07 +01:00
Ian Craggs 00ae857272 Finish off topic alias tests 2018-06-18 14:03:55 +01:00
Ian Craggs 75dc28dce9 Add server topic aliases test for async client 2018-06-18 12:06:10 +01:00
Ian Craggs 3b94a791c8 Add MQTTClient server topic alias test 2018-06-15 17:40:39 +01:00
Ian Craggs ede005c41d Async client specific test for client topic aliases 2018-06-08 19:35:03 +01:00
Ian Craggs b07dee3bb5 Test10 updates 2018-06-07 17:20:33 +01:00
Ian Craggs da1d92bcdb Get test10 to build on Windows 2018-06-07 16:48:21 +01:00
Ian Craggs 7ea1333911 MQTTClient v5 specific tests. Receive disconnect #469. Client topic aliases #472 2018-06-07 14:45:01 +01:00
Ian Craggs fcef9b5dd5 Merge branch 'develop' into mqttv5 2018-06-04 15:38:02 +01:00
Ian Craggs a892672057 Add full test1 tests for V5 2018-05-31 17:10:34 +01:00
Ian Craggs 77cc4fb960 Add cleanstart and session expiry to async test/client 2018-05-04 17:56:48 +01:00
Ian Craggs ced0d0ef45 Make all tests in test45.c work with MQTT 5 2018-05-03 17:55:08 +01:00
Keith Holman 8c988485ec build: various warning fixes
This patch fixes various warnings produced during the build the most
common warning, is the truncation of "size_t" (usually unsigned long) to
(int).  This patch explicitly casts the result to "int" in these cases
to supress the warning.  Additionally, this patch includes a fix to an
internal library load function to take a "const char *" parameter
instead of a "char *" parameter.

Signed-off-by: Keith Holman <keith.holman@windriver.com>
2018-05-02 17:01:21 -04:00
Ian Craggs 167278c0a8 First pass at MQTTAsync - sending V5 packets and receiving responses 2018-04-27 22:26:23 +01:00
Ian Craggs 6983ad7f87 MQTTClient unsubscribe and disconnect 2018-04-18 18:24:06 +01:00
Ian Craggs 36ca298edd Merge branch 'develop' into mqttv5 2018-04-18 10:23:00 +01:00
Ian Craggs bc8a5cb700 Publish qos 1 and 2, unsubscribe 2018-04-17 22:47:10 +01:00
Ian Craggs 3b1e70dd88 Consolidate mqttsas and mqttsas2 into one which handles both Python2 and Python3 2018-04-12 13:09:36 +01:00
Ian Craggs 7cc0e3fa38 MQTT 5.0 publish qos 0 send and receive 2018-03-22 17:37:45 +00:00
Ian Craggs 9c4a917fc2 Allow test proxy to work with either Python 2 or 3 2018-03-21 10:35:39 +00:00
Ian Craggs c6aba7f145 MQTT 5.0 subscribe packets - #417 2018-03-20 23:21:47 +00:00
Juergen Kosel e858851455 Modify order of includes to fix travis build
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2018-03-12 16:49:27 +01:00
Juergen Kosel fcfb5b43ef Merge branch 'develop' into 373
* develop: (21 commits)
  Add OpenSSL version check for X509_check_host
  Try to update OpenSSL on Ubuntu$
  Add TLS config for client and server for hostname verification #420
  Add TLS hostname check and CApath #420 #418
  Add tests for wrong protocol name #294
  Check for bad protocol name #294
  Check for SSLOptions structure when SSL protocol prefix is used #334
  Update CONTRIBUTING.md CLA info
  Remove reference to exit() function #342
  Reinstate tests for appveyor
  Enclose references to OsWrapper in #if defines
  Squashed commit of the following:
  Package AppVeyor artifacts attempt 1
  Create /usr/local/include if it doesn't exist #275
  Remove 373 test from Makefile... add the test source for posterity #416
  Add doc for token in ResponseOptions #411
  Add missing string.h include to SSLSocket.c
  Try AppVeyor config again
  Update AppVeyor config for latest test broker updates
  Move ListRemove after where qe is used #339
  ...

# Conflicts:
#	src/SSLSocket.c
#	test/test_issue373.c

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2018-03-12 15:19:44 +01:00
Ian Craggs 14035190a4 Fix windows enum name clash 2018-03-08 20:01:07 +00:00
Ian Craggs 6a1f39f7b7 MQTT 5.0 connect and connack #417 2018-03-08 18:52:07 +00:00
Ian Craggs e4c2ed2327 Add TLS config for client and server for hostname verification #420 2018-03-01 20:24:23 +00:00
Ian Craggs 695563fccb Add TLS hostname check and CApath #420 #418 2018-03-01 19:52:20 +00:00
Ian Craggs 8276dcd217 Add tests for wrong protocol name #294 2018-02-26 16:57:13 +00:00
Ian Craggs adf15a38a1 Check for SSLOptions structure when SSL protocol prefix is used #334 2018-02-26 16:20:37 +00:00
Ian Craggs 81fba83b89 Remove 373 test from Makefile... add the test source for posterity #416 2018-02-13 22:21:27 +00:00
Juergen Kosel 3bdd5b5d92 Merge branch 'develop' into 373
* develop:
  Remove reference to internal Heap functions for now
  Some cleanup of testing code
  Add call to AppVeyor env setup
  Do we need spaces?
  Try again...
  Change vcvars syntax
  Check visual studio env var
  Correct vcvarsall location
  Add Visual Studio 2013 build as well as 2015
  Reinstate .travis.yml
  Update cd command
  Use HTTPS git checkout instead of SSH
  Another Python3 try
  Update Python3 version
  Try AppVeyor build with local broker
  修改了restoreCommand时:(1)topics指针未申请内存的问题;(2)unsub误写为sub的问题。
  fix issue that MQTTClient_connect hangs on network outage, for windows

# Conflicts:
#	src/Socket.c
#	test/test6.c

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-18 09:01:57 +01:00
Ian Craggs abecbdc8ca Remove reference to internal Heap functions for now 2017-12-15 12:16:18 +00:00
Ian Craggs bc1399a63b Merge branch '373' into develop 2017-12-15 12:05:10 +00:00
Ian Craggs db7790ebc0 Try AppVeyor build with local broker 2017-12-14 12:42:16 +00:00
Juergen Kosel d8f662e9f5 Merge branch 'test4issue373' into 373
* test4issue373:
  Extend test_issue373 to test also with QoS 1 and 2
  Add helper script for test_issue373 to cyclically disconnect the VM running the broker
  Add log output for failed message queueing in test due to disconnect
  Do not reduce the tcp send buffer size for production code

# Conflicts:
#	test/test_issue373.c

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-08 14:52:52 +01:00
Juergen Kosel 00e3a0f566 Extend test_issue373 to test also with QoS 1 and 2
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-08 14:48:35 +01:00
Juergen Kosel c9741998ab Add helper script for test_issue373 to cyclically disconnect the VM running the broker
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-08 14:47:03 +01:00
Juergen Kosel 0c651aa2c9 Add log output for failed message queueing in test due to disconnect
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-08 14:47:03 +01:00
Juergen Kosel c69c82189e Fix Windows build of test6
The functions implemented in Heap.c are not usable for Windows builds.
Therefore use only for none MSVC builds.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-08 10:53:23 +01:00
Juergen Kosel c9c5b9e203 Merge branch '373' of https://github.com/eclipse/paho.mqtt.c.git into 373
* '373' of https://github.com/eclipse/paho.mqtt.c.git:
  Add latest restart test changes
  Add test changes
2017-12-08 10:47:28 +01:00
Ian Craggs d889b8188f Add latest restart test changes 2017-12-07 11:56:22 +00:00
Ian Craggs b42782765b Add test changes 2017-12-05 16:51:03 +00:00
Juergen Kosel 4440ab7e68 Increase connect / disconnect iterations
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-05 16:39:32 +01:00
Juergen Kosel 7c34e20a91 Merge branch 'test4issue373' into 373
* test4issue373:
  Add log output for failed message queueing in test due to disconnect
  Add trace output to verify that reducing the tcp send buffer forces TCPSOCKET_INTERRUPTED
  Reduce the tcp snd buffer to provocate issue #385
  Move the evaluation of the not freed memory _after_ call of MQTTAsync_destroy()
  Fix Windows build of test_issue373 and increase number of iterations
  Consider any not freed memory as test failure
  Modified number of connect iterations and messages send per second
  Moved the decrement of pendingMessageCnt to another call back function
  Add test for issue #373 and #385
  Add skeleton of test_issue373
2017-12-05 11:26:22 +01:00
Juergen Kosel 1f36a313ff Add log output for failed message queueing in test due to disconnect
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-05 11:23:43 +01:00
Juergen Kosel 2c3dc75e5c Move the evaluation of the not freed memory _after_ call of MQTTAsync_destroy()
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 16:40:36 +01:00
Juergen Kosel dfe4060157 Fix Windows build of test_issue373 and increase number of iterations
The functions implemented in Heap.c are not usable for Windows builds.
Therefore use only for none MSVC builds.

Increase the workload and number of connect/disconnects.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 15:55:23 +01:00
Juergen Kosel 0792478686 Consider any not freed memory as test failure
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 15:43:58 +01:00
Juergen Kosel bed5c09a25 Modified number of connect iterations and messages send per second
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 15:04:58 +01:00
Juergen Kosel 2ceffbc787 Moved the decrement of pendingMessageCnt to another call back function
For some unknown reason, decrementing pendingMessageCnt in
test373DeliveryComplete() does not work. Therefore moved to other call
back functions.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 15:04:18 +01:00
Juergen Kosel cdd7f0e449 Add test for issue #373 and #385
This test connects to a broker up to 10 times.
As long as the connection is established, 100 message should be published
each second.
At the end all memory should be freed and no segmentation occurred.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 14:39:12 +01:00
Juergen Kosel 14270a2b8c Add skeleton of test_issue373
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-12-04 10:53:35 +01:00
Ian Craggs e18db33e79 Add another continuous write test 2017-11-30 17:58:34 +00:00
Ian Craggs 6bd9c691a2 Add continuous send test 2017-11-30 17:57:30 +00:00
Ian Craggs a87450ebce Label test project as C; add flag to disable test build & run #331 2017-09-20 16:06:23 +01:00
Ian Craggs a5cbbbd476 Merge branch 'VxWorksSupport' of https://github.com/rpoisel/paho.mqtt.c into develop
PR #295
2017-07-27 11:00:21 +01:00
Ian Craggs 132af3ab49 Windows OpenSSL build 2017-07-21 15:19:49 +01:00
Rainer Poisel a16cff63cc Compile support for VxWorks 6.9
Signed-off-by: Rainer Poisel <rainer.poisel@logicals.com>
2017-07-08 23:51:17 +02:00
Ian Craggs 73541adbdb Increase receive timeout in test 2017-06-29 12:01:35 +01:00
Ian Craggs d5070d7967 Fix ant build & test plus some compiler warnings
Squashed commit of the following:

commit 42ff91b70ebc9719048c1676548683cdabfaa433
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Thu Jun 29 10:38:20 2017 +0100

    Proxy ports

commit c7cb7c1372796d26fd09cc9d8a098fd96e0d00d2
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Jun 28 19:46:19 2017 +0100

    Fix build.xml syntax

commit 371565969967a2bbad9965ec87019c57f63beb5f
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Jun 28 19:45:05 2017 +0100

    Fix mqttsas2 invocation

commit ec2d18d37c533d4df3a56cc5d28feb3334259d62
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Jun 28 19:34:10 2017 +0100

    Change broker port to allow proxy to start on Hudson
2017-06-29 10:52:06 +01:00
Lance Chen 42f5c13536
Fix `serverURIs` iterating in MQTTAsync.c
This commit fixes two bugs related to `serverURIs` iterating in MQTTAsync.c

1. Segfault occurs when there is no healthy connection in `serverURIs`

   Two off-by-one errors of the `currentURI` cause the issue. The first
   one happens when doing boundary check of `serverURIs`, and the other
   one happens when accessing `serverURIs` without checking the boundary
   first.

2. The first URI in `serverURIs` gets skipped when restricting
   `MQTTVersion` to a particular value

   `currentURI` gets increased *before* connection attempts in each
   iteration.

Signed-off-by: Lance Chen <cyen0312@gmail.com>
2017-06-24 02:53:28 +08:00
Ian Craggs 1d9b394c03 Reduce log verbosity for test 2d 2017-04-21 15:18:08 +01:00
Ian Craggs dcf457e08a Fix for issue #190 2017-04-21 15:00:55 +01:00
Juergen Kosel 34e550071c In test5 - 2d the client must not have the valid client certificate!
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-12 19:44:17 +02:00
Juergen Kosel 9c615a6f87 Correct / update the unit test labeling
Test5-2d has been added. So the corresponding label needs to be added
to the cmake file.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 19:12:47 +02:00
Juergen Kosel 52ac56938b Reduce time for test2d
- Reduce the number of iterations to 20 (It usually fails in iteration 3)
- Reduce the timeout by factor 10

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 18:58:41 +02:00
Juergen Kosel 568d82407a Include MQTTAsync_create() call in the test iteration loop for test2d
With the call of MQTTAsync_create() within the iteration loop, the test
fails.
Remove the opts.serverURIs

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:45:49 +02:00
Juergen Kosel 5d463fdd27 Set use_identity_as_username false for mosquitto listener 18884
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:41:36 +02:00
Juergen Kosel b2a26f2840 Enable the server certificate in test5-2d
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:41:36 +02:00
Juergen Kosel 5809b05bb4 Set the serverURI in the corresponding array of the connect options for test5-2d
Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 16:41:36 +02:00
Juergen Kosel 458a571709 Rerun test5-2d 100 times
Since issue #190 happens only some times, we need to rerun the test
several times.

Signed-off-by: Juergen Kosel <juergen.kosel@softing.com>
2017-04-07 14:10:45 +02:00
Ian Craggs 38d0427209 Add new test2d for issue #190 2017-04-07 11:48:44 +01:00
Ian Craggs f11f08e8b0 Binary passwords and will messages: PR #159, issues #167 and #34
Squashed commit of the following:

commit 907b9ecdaf160bf95c17aafcaf4ab3e656ab9ccc
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Apr 5 23:33:44 2017 +0100

    Use binary passwords in tests

commit 3930b18d3835727e3cb98ef0ce1a742bd0dffab7
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Apr 5 17:15:29 2017 +0100

    Binary MQTT password support

commit 4abe6a996b1219aafa22b5dd69bf1e676d377466
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Apr 5 16:13:18 2017 +0100

    Fix test config

commit e742ed182d6de44e9afd6e9c9c03c79f359fbe29
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Apr 5 15:46:53 2017 +0100

    Async binary will message

commit 9313e66214720c285f510e325a5c942ad22f2542
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Wed Apr 5 11:50:10 2017 +0100

    Binary will message support, take 2

commit 5cf548505a548eff394348aa7406e5a34d0f5054
Author: Ian Craggs <icraggs@uk.ibm.com>
Date:   Tue Apr 4 22:54:15 2017 +0100

    Binary will message
2017-04-06 10:49:05 +01:00
Ian Craggs 5571f9b1cd Some small cleanup 2017-03-28 23:22:15 +01:00
Ian Craggs 1f02409c7c Merge branch 'develop' of github.com:eclipse/paho.mqtt.c into develop 2017-03-28 16:54:30 +01:00
Ian Craggs 50f0501eb6 Tidy up test3 and CMake config 2017-03-28 16:47:40 +01:00
Ian Craggs 34360f6ac6 Reduce size on messages in test8-4 2017-03-28 15:56:10 +01:00
Ian Craggs 12f4fe9fbf Fix TLS certs dir on Windows 2017-03-28 14:21:39 +01:00
Ian Craggs b9587b54aa Add applink.c to windows TLS test program 2017-03-28 12:24:15 +01:00
Ian Craggs b8d9973cec Restrict proxy listener to localhost 2017-03-28 10:43:07 +01:00
Ian Craggs 1ec8f7953e Try again 2017-03-28 00:29:08 +01:00
James Sutton ec5c50b141
Adding Dockerfile and docker specific mosquitto configuration
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
2017-03-27 14:35:20 +01:00
Ian Craggs 91a98f6053 Merge branch 'develop' into fixes
Conflicts:
	test/CMakeLists.txt
2017-03-27 12:28:27 +01:00
Ian Craggs d0ed00cbf9 Change applink.c directory 2017-03-26 15:46:18 +01:00
Ian Craggs d1f9d3d73c Add OpenSSL include path for tests 2017-03-26 15:39:27 +01:00