Commit Graph

279 Commits (8a18f577a6dbd7d0241221e2f991b272aaeeaa6e)
 

Author SHA1 Message Date
Roger A. Light 8a18f577a6 Remove more unnecessary uses of calloc. 11 years ago
Roger A. Light 97849e8825 Remove unnecessary uses of calloc. 11 years ago
Roger A. Light 30c83a5cc1 Change include paths, make generating html easier. 11 years ago
Roger A. Light 51ab89630a LICENSE-3rd-party.txt no longer distributed. 11 years ago
Roger A. Light 525f989c6c Update html man page generation for eclipse pages. 11 years ago
Roger A. Light 5ee0ab8e34 Fix bug links. 11 years ago
Roger A. Light b6a0b01e1e [457162] Fix mosquitto_sub not honouring --qos.
Thanks to Christoph Krey.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457162
11 years ago
Roger A. Light cfe1156eb7 Reference count store structs when reloading from db.
Without this increment, a message could be incorrectly freed in rare
circumstances.
11 years ago
Roger A. Light b52e3311d2 Disconnect websockets clients properly.
context->state was being overwritten when websockets clients
attempted to disconnect, leaving them in limbo. This has been fixed.

Thanks to FeelyChau.
11 years ago
Roger A. Light ac5dbd428f Clear want_write flag after responding to it.
Prevents busy loop after e.g. writing a large message when using TLS.

Thanks to Dave Sellars.
11 years ago
Roger A. Light d6bb6634d2 Disable memory tracking with uclibc.
Thanks to Ed W.
11 years ago
Roger A. Light faaf3edd02 Fix library linking with CMake.
When using CMake it wasn't possible to use libwrap due to a
configuration error. This has been fixed.

Thanks to Markus Rathgeb.
11 years ago
Roger A. Light 175794826b [456899] Broker: Add bridge_attempt_unsubscribe option.
The bridge_attempt_unsubscribe option has been added, to allow the sending
of UNSUBSCRIBE requests to be disabled for topics with "out" direction.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=456899
11 years ago
Roger A. Light 778bd4ca25 Clear store variable correctly here. 11 years ago
Roger A. Light 0e72d3cc32 Should check acl result for lack of success, not presence of error. 11 years ago
Roger A. Light f8f794c531 Allow expiring clients to be cleaned up. 11 years ago
Roger A. Light b30adbf792 Remove incorrectly committed file. 11 years ago
Roger A. Light c12d3ebc0b [454852] Support setting keepalive on pub client.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=454852
11 years ago
Roger A. Light e5a251f0bb Remove javascript client. 11 years ago
Roger A. Light fb588ef434 Print dlerror on library loading errors. 11 years ago
Roger A. Light 85a294922e Protect stored messages from removal when queing. 11 years ago
Roger A. Light 5b6f6976c7 Fix use of "dup" with pubrel, subscribe, unsubscribe.
Thanks to Paolo Patierno.
11 years ago
Roger A. Light 2ce4d94282 Fix dereferencing of msg store items. 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 1e64bb171a More memory efficient message store than with hashes.
Also frees messages from the message store after removing...
11 years ago
Roger A. Light d30d711c3b Improve struct layouts for memory usage. 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 4374170c40 Use hash for message store to speed up loading.
Comes at the expense of increased memory usage. This could be countered
by using a hash just for loading (increased memory usage during loading,
reduced afterwards) but this approach does allow the immediate removal
of messages from the store.
11 years ago
Roger A. Light 94cd34c86d Add executable permissions. 11 years ago
Roger A. Light 9b9f1c7613 Remove unnecessary callocs. 11 years ago
Roger A. Light d9e41fe065 Remove dead code. 11 years ago
Roger A. Light 975b127d17 Sanitise password file argv input. 11 years ago
Roger A. Light 07581446e6 Bounds checking for socks domain name inputs. 11 years ago
Roger A. Light b80402baf0 Only track inflight messages for outgoing messages. 11 years ago
Roger A. Light 41f5d1fd43 Fix parsing of malformed socks urls. 11 years ago
Roger A. Light 166bc2c481 Cleanup client memory on error. 11 years ago
Roger A. Light 66f147749d Fix missing mutex unlock. 11 years ago
Roger A. Light 36f88d902d Fix errors from big code import. 11 years ago
Roger A. Light fb72bf9c14 Fix incorrect function name in documentation. 11 years ago
Roger A. Light 00d951e6d6 Allow plugins to call mosquitto_log_printf() (Linux only at the moment). 11 years ago
Roger A. Light fc1e514ad4 Add log_facility for non-Windows OSs. 11 years ago
Roger A. Light 77ffd9f602 Add dependencies to compiling.txt. 11 years ago
Roger A. Light 0a86aee5fb Authentication plugin acl_check function is passed local_username for local bridges. 11 years ago
Roger A. Light 0c3e4e50cc Windows implementation of client config files. 11 years ago
Roger A. Light ab49b96db1 Windows related fixes. 11 years ago
Roger A. Light 6524115f45 Error if websockets not available. 11 years ago
Roger A. Light 052c2d7766 Fix for Windows. 11 years ago
Roger A. Light 041f60c03e Make bridge connections non-blocking for TLS connections. 11 years ago
Roger A. Light c92e2f5581 Declare variables before code. 11 years ago
Roger A. Light a1f18323d1 Make bridge connections non-blocking for non-TLS connections. 11 years ago