Commit Graph

36 Commits (b55e7035ffcc0f942e77bdcb25750d711a79dfdb)

Author SHA1 Message Date
Roger A. Light b55e7035ff [344] Fix non-async case. 9 years ago
Roger A. Light 433ee5c4d6 [344] Don't compile in async dns support by default for makefiles. 9 years ago
Roger A. Light 6f45ab9624 [344] Only do async dns on glibc. 9 years ago
Roger A. Light e0e8cc9f3e [344] Fix leaks and incorrect connect call. 9 years ago
Roger A. Light e13af18ed9 Start of fix for [344]. 9 years ago
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.
10 years ago
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.
10 years ago
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
11 years ago
Roger A. Light 1bdd6c36a8 Fix incorrect bridge connection notifications on local broker. 11 years ago
Roger A. Light dacee786be [463000] Use own type to simplify socket handling.
Means that SOCKET is used as the socket type everywhere on Windows.
11 years ago
Roger A. Light 87d8e1f705 Bridge support for MQTT v3.1.1. 11 years ago
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.
11 years ago
Roger A. Light ea8537c048 Remove unused messages from store immediately.
This removes the need for *store_clean*.
11 years ago
Roger A. Light a1f18323d1 Make bridge connections non-blocking for non-TLS connections. 11 years ago
Roger A. Light d2dbe16d68 Client structs store sub information to make _subs_clean_session more efficient. 11 years ago
Roger A. Light 070d783c9f Merge 1.3.2-1.3.5 into 1.4. 11 years ago
Roger A. Light db9d6b9f3d Fix potential memory leak from context->current_out_packet. 11 years ago
Roger A. Light 7fb629d818 Fix potential leak. 11 years ago
Roger A. Light 99779c03c7 Fix reporting of local bridge status. 11 years ago
Roger A. Light 580cd722dc Remote/local bridge fixes. 11 years ago
Roger A. Light b937a043e7 Rename remote bridge identifiers to remote_. 11 years ago
Roger A. Light 56ff849c65 Backout changeset c7589b77956c5bac076ae23905fbfc8902d69dc5. 11 years ago
Roger A. Light 8e7736b78e Fix incorrect handling of anonymous bridges on the local broker.
Thanks to Jan-Piet Mens.
11 years ago
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.
11 years ago
Roger A. Light 22094aa00d Memory checks. 11 years ago
Roger A. Light 3fd1dc477f Fix defects identified by Coverity. 11 years ago
Roger A. Light bdb3e74100 More memory fixes. 11 years ago
Roger A. Light 15efd2d072 Various memory fixes. 11 years ago
Roger A. Light 3577dbf332 Add sock hash earlier to avoid crashes. 11 years ago
Roger A. Light 764b7e0a91 Use hash functions to store client data. 11 years ago
Roger A. Light 11631d8d92 Add local_clientid for bridges. 11 years ago
Roger A. Light be0cfff969 Fix possible leaks. 12 years ago
Roger A. Light 7b5b5cf43e Add local_username, local_password for bridge connections to authenticate to the local broker. 12 years ago
Roger Light b8e34b0b05 Ensure that bridges verify certificates by default when using TLS.
Thanks to Stefan Borsje.
12 years ago
Roger A. Light 968004d9d8 Add local_username, local_password for bridge connections to authenticate to the local broker. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago