- 06 Dec, 2017 3 commits
-
-
Juergen Kosel authored
Setting pointers to NULL after free never hurt, but may prevent double free and other problems. Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
The function myfree() is used as a replacement for free(). Therefore it must not cause any failure, if someone calls myfree(NULL). Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
- 05 Dec, 2017 7 commits
-
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
* 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
-
https://github.com/eclipse/paho.mqtt.c.gitJuergen Kosel authored
* '373' of https://github.com/eclipse/paho.mqtt.c.git: Forgot to remove test failure code! Make sure writeComplete deals with socket error #373 Some corrections for failing socket writes #385 Take account of not finding a response in writeComplete #385 Add another continuous write test Add continuous send test More memory cleanup on network errors - #373
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
- 04 Dec, 2017 9 commits
-
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
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>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
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>
-
Juergen Kosel authored
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>
-
Ian Craggs authored
-
Ian Craggs authored
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
- 02 Dec, 2017 1 commit
-
-
Ian Craggs authored
-
- 01 Dec, 2017 4 commits
-
-
Ian Craggs authored
-
Ian Craggs authored
-
Ian Craggs authored
-
Ian Craggs authored
-
- 30 Nov, 2017 3 commits
-
-
Juergen Kosel authored
The function MQTTPacket_free_packet() is not used at all. Eliminating dead code to improve readability. Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
Ian Craggs authored
-
- 24 Nov, 2017 1 commit
-
-
Ian Craggs authored
Remove shadow warning and improve consistency
-
- 18 Nov, 2017 1 commit
-
-
Ian Craggs authored
Fix Socket_setnonblocking() for Windows (At least if build with MSVC …
-
- 17 Nov, 2017 1 commit
-
-
Juergen Kosel authored
Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
- 16 Nov, 2017 1 commit
-
-
Juergen Kosel authored
Partially revert commit a16cff63 for file src/Socket.c - Do not include errno.h for Windows build - Use errno as a local variable in Socket_setnonblocking() for Windows Signed-off-by:
Juergen Kosel <juergen.kosel@softing.com>
-
- 26 Oct, 2017 1 commit
-
-
Niklas Johansson authored
Don't shadow already defined variable (data_size). In addition, we are consistence with the case statement above. Signed-off-by:
Niklas Johansson <niklas.johansson@prevas.dk>
-
- 20 Sep, 2017 1 commit
-
-
Ian Craggs authored
-
- 18 Sep, 2017 1 commit
-
-
Ian Craggs authored
Add support for selecting/enforcing a TLS version
-
- 14 Sep, 2017 1 commit
-
-
Günter Obiltschnig authored
SSL/TLS: Add support for enforcing a TLS version through a new sslVersion field in the MQTTClient_SSLOptions structure. This affects which *_client_method() function is called in SSLSocket.c: 0 (default) -> SSLv23_client_method(), 1 -> TLSv1_client_method(), 2 -> TLSv1_1_client_method(), 3 -> TLSv1_2_client_method() Signed-off-by:
Günter Obiltschnig <guenter.obiltschnig@appinf.com>
-
- 04 Sep, 2017 1 commit
-
-
- 01 Sep, 2017 1 commit
-
-
Callum Attryde authored
Make sure to initialise the message member of the failureData in MQTTAsync_receiveThread Signed-off-by: Callum Attryde <callumattryde@gmail.com>
-
- 30 Aug, 2017 1 commit
-
-
James Sutton authored
Signed-off-by:
James Sutton <james.sutton@uk.ibm.com>
-
- 29 Jul, 2017 2 commits
-
-
Ian Craggs authored
Fedora upstream changes
-
Otavio R. Piske authored
Signed-off-by:
Otavio R. Piske <opiske@redhat.com>
-