Roger A. Light
e0e8cc9f3e
[344] Fix leaks and incorrect connect call.
2017-02-20 23:48:30 +00:00
Roger A. Light
e13af18ed9
Start of fix for [344].
2017-02-20 23:48:30 +00:00
Roger A. Light
af995d211d
Fix client library keepalive handling.
...
Fix the case where a message received just before the keepalive timer
expired would cause the client to miss the keepalive timer.
Thanks to Graham Benton.
2016-02-28 17:24:43 +00:00
Roger A. Light
26eac3c1ca
Fix possible memory leak with bridges and SSL.
...
Fix possible memory leak if bridge using SSL attempts to connect to a
host that is not up.
Thanks to Ed Morris.
2015-10-12 14:48:52 +01:00
Roger A. Light
a6827df6c0
[467096] Fix incorrect bridge notification.
...
If a custom notification topic was used, the bridge status would be set
to 1 before a connection was attempted, this has been fixed.
Initial updates to the status topic are now only set once, when the
broker starts, rather than each time the bridge attempts to reconnect.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=467096
2015-05-16 12:05:17 +01:00
Roger A. Light
1bdd6c36a8
Fix incorrect bridge connection notifications on local broker.
2015-04-17 21:51:21 +01:00
Roger A. Light
dacee786be
[463000] Use own type to simplify socket handling.
...
Means that SOCKET is used as the socket type everywhere on Windows.
2015-03-29 10:43:08 +01:00
Roger A. Light
87d8e1f705
Bridge support for MQTT v3.1.1.
2015-01-27 17:12:36 +00:00
Roger A. Light
db3c016fdd
Don't use bridge hash in each client.
...
Store a DB wide array of bridges. There shouldn't be many of them, so
iterating/searching isn't a problem. Saves 56 bytes in the client
struct.
2014-11-18 23:34:54 +00:00
Roger A. Light
ea8537c048
Remove unused messages from store immediately.
...
This removes the need for *store_clean*.
2014-11-17 23:46:02 +00:00
Roger A. Light
a1f18323d1
Make bridge connections non-blocking for non-TLS connections.
2014-10-24 21:28:24 +01:00
Roger A. Light
d2dbe16d68
Client structs store sub information to make _subs_clean_session more efficient.
2014-10-09 23:28:16 +01:00
Roger A. Light
070d783c9f
Merge 1.3.2-1.3.5 into 1.4.
2014-10-12 11:17:13 +01:00
Roger A. Light
db9d6b9f3d
Fix potential memory leak from context->current_out_packet.
2014-09-23 00:32:34 +01:00
Roger A. Light
7fb629d818
Fix potential leak.
2014-09-19 00:56:37 +01:00
Roger A. Light
99779c03c7
Fix reporting of local bridge status.
2014-09-17 22:40:49 +01:00
Roger A. Light
580cd722dc
Remote/local bridge fixes.
2014-08-16 23:14:41 +01:00
Roger A. Light
b937a043e7
Rename remote bridge identifiers to remote_.
2014-08-16 21:31:12 +01:00
Roger A. Light
56ff849c65
Backout changeset c7589b77956c5bac076ae23905fbfc8902d69dc5.
2014-08-02 21:48:08 +01:00
Roger A. Light
8e7736b78e
Fix incorrect handling of anonymous bridges on the local broker.
...
Thanks to Jan-Piet Mens.
2014-08-01 21:34:21 +01:00
Roger A. Light
e5aa843ec7
Don't allow access to clients when authenticating if a security plugin returns an application error. Fixes bug #1340782 .
...
Thanks to Charlie Davis.
2014-07-13 21:20:18 +01:00
Roger A. Light
22094aa00d
Memory checks.
2014-07-04 21:32:27 +01:00
Roger A. Light
3fd1dc477f
Fix defects identified by Coverity.
2014-07-03 21:55:25 +01:00
Roger A. Light
bdb3e74100
More memory fixes.
2014-06-29 23:16:10 +01:00
Roger A. Light
15efd2d072
Various memory fixes.
2014-06-28 01:38:58 +01:00
Roger A. Light
3577dbf332
Add sock hash earlier to avoid crashes.
2014-06-23 23:47:48 +01:00
Roger A. Light
764b7e0a91
Use hash functions to store client data.
2014-06-23 17:57:35 +01:00
Roger A. Light
11631d8d92
Add local_clientid for bridges.
2014-06-10 23:30:15 +01:00
Roger A. Light
be0cfff969
Fix possible leaks.
2014-05-26 21:23:19 +01:00
Roger A. Light
7b5b5cf43e
Add local_username, local_password for bridge connections to authenticate to the local broker.
2014-05-08 23:27:11 +01:00
Roger Light
b8e34b0b05
Ensure that bridges verify certificates by default when using TLS.
...
Thanks to Stefan Borsje.
2014-05-08 22:48:13 +01:00
Roger A. Light
968004d9d8
Add local_username, local_password for bridge connections to authenticate to the local broker.
2014-05-08 18:45:34 +01:00
Roger Light
0364bd1be7
Initial contribution.
2014-05-07 23:27:00 +01:00