Commit Graph

2519 Commits (9d3732a62d6d2aa19293377cb6a3e75fecb45e20)
 

Author SHA1 Message Date
Roger A. Light 5603d6a44d Remove unused struct members. 11 years ago
Roger A. Light 43b1ea8050 Memory leak and id stealing fixes. 11 years ago
Roger A. Light e3bf10cd9a Change the way that new clients with match client ids are dealt with.
This change means that the connection isn't swapped from new context to
old, which makes dealing with websockets lots easier. It does require
that clients storing a list of their subscriptons.
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 1a47f86648 Typo fix. 11 years ago
Roger A. Light 90b8ceb0df Update libmosquitto man page example. 11 years ago
Roger A. Light f44b66a331 Bump version number. 11 years ago
Roger A. Light 8cb9b195e5 When using -v and the broker receives a SIGHUP, verbose logging was being disabled. This has been fixed. 11 years ago
Roger A. Light bad7ec75f0 Temporarily disable ACL checks on subscriptions when using MQTT v3.1.1.
This is due to the complexity of checking wildcard ACLs against wildcard
subscriptions. This does not have a negative impact on security because
checks are still made before a message is sent to a client.  Fixes bug

Thanks to Jan-Piet Mens and Christoph Krey.
11 years ago
Roger A. Light 429c892557 Fix saving persistent database on Windows.
Thanks to Daniel Degasperi.
11 years ago
Roger A. Light 43556537e3 Don't ask for client cert when require_certificate is false. 11 years ago
Roger A. Light 1e87697359 Fix mutex being incorrectly passed by value. Fixes bug #1373785. 11 years ago
Roger A. Light 4a19d9ae3a Fix possible memory leak when using a topic that has a leading slash.
Fixes bug #1360986.
11 years ago
Roger A. Light ac00949793 Add missing socks code! 11 years ago
Roger A. Light 41ebd31ac5 Add note on defaults. 11 years ago
Roger A. Light fdc8c08ca3 Add socks to cpp library. 11 years ago
Roger A. Light 8f8816b092 Fix conditional compilation, add headers. 11 years ago
Roger A. Light 42420cae46 Add experimental SOCKS5 support for the clients. 11 years ago
Roger A. Light e9c18f8347 mosquitto_loop_forever now quits after a fatal error, rather than blindly retrying. 11 years ago
Roger A. Light 950c4ed9c6 Check return value of fseek for errors. 11 years ago
Roger A. Light 84214bcd99 Simplify appending of topics when tokenising. Helps remove dead code. 11 years ago
Roger A. Light aa2e6a8d29 Fix possible NULL derefence. 11 years ago
Roger A. Light db9d6b9f3d Fix potential memory leak from context->current_out_packet. 11 years ago
Roger A. Light 154b2fc264 Must remove memory reference here. 11 years ago
Roger A. Light dcd469c177 Use own linked list for storing disused contexts for freeing.
Seemed to be a problem with getting it to work under a hash and there
isn't really any need for a hash.
11 years ago
Roger A. Light 2a922e9f06 Fix verbose logging on reload. 11 years ago
Roger A. Light ac377b7bd1 Match upstart prefix to default config.mk. 11 years ago
Roger A. Light e561b5ea08 Windows fix. 11 years ago
Roger A. Light 7fb629d818 Fix potential leak. 11 years ago
Roger A. Light 58c857c473 Fix for windows. 11 years ago
Roger A. Light 58a7565a2b Check http request directories on Windows. 11 years ago
Roger A. Light 9d8510dfa2 Use mosquitto memory allocation functions in uthash, to give better heap reporting. 11 years ago
Roger A. Light 74809c7781 Remove python reference in config.mk. 11 years ago
Roger A. Light 99779c03c7 Fix reporting of local bridge status. 11 years ago
Roger A. Light 65526d2746 No need to call lws_partial_buffered() here. It is never set at the start of a callback. 11 years ago
Roger A. Light f61a8cbf74 Get address for websockets clients. 11 years ago
Roger A. Light 91fa1c9625 Disable ipv6 websockets. 11 years ago
Roger A. Light 2bf7a8fb13 Prevent NULL derefencing and accessing of freed memory. 11 years ago
Roger A. Light 3d58f5ed82 Some minor memory leak fixes. 11 years ago
Roger A. Light 1fb5a3edc6 Use hash counts to calculate numbers of clients. 11 years ago
Roger A. Light 3eead8c507 retained_ and subscription_count only used with sys tree. 11 years ago
Roger A. Light 7b1ee68ef1 Remove compilation warnings for various configurations. 11 years ago
Roger A. Light dd36c4b273 Don't attempt to find real path of NULL. 11 years ago
Roger A. Light 9286da192e Fix unused var. 11 years ago
Roger A. Light f9951595c8 Fix missing headers. 11 years ago
Roger A. Light d9d1f2f7b8 Don't display usage information on every error. 11 years ago
Roger A. Light 65a4b790f3 Check for invalid topics before connecting. 11 years ago
Roger A. Light 06bec1083d Expose mosquitto_pub_topic_check() and mosquitto_sub_topic_check(). 11 years ago
Roger A. Light 3c5ca95c81 File serving from http on *nix. 11 years ago