Commit Graph

463 Commits (f3651b80d4ec3e96c37759c891827ef570bba6e4)
 

Author SHA1 Message Date
Roger A. Light 209fe5e5af Fix git links. 11 years ago
Roger A. Light 4fb416f2bc Auto recognised links. 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
Roger A. Light 4ff6a6aa49 Remove duplicate strlen check. 11 years ago
Roger A. Light 66443c14bd Assign to NULL to prevent double free later. 11 years ago
Roger A. Light 7a2dd634cb Protect against possible NULL dereference after unsubscribing. 11 years ago
Roger A. Light 6e0fd9e3ec SRV support is now not compiled in by default. 11 years ago
Roger A. Light 372b64a290 More "client has disconnected but is not freed" protections. 11 years ago
Roger A. Light c8dffcbfbb Fixes for clientid stealing situation. 11 years ago
Roger A. Light 02be4965ea Don't rearrange leaves here until we are sure we have all the memory allocated. 11 years ago
Roger A. Light eb01459571 Protect against client->id NULL dereference. 11 years ago
Roger A. Light 065c6356d4 Don't derefence NULLs. 11 years ago
Roger A. Light 7746427b07 Record client subs correctly. 11 years ago
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