Commit Graph

72 Commits (1877f8a3268e4103b7a5827a4edab736502b79cc)

Author SHA1 Message Date
Roger A. Light 0ddd438161 Helper macros. 11 years ago
Roger A. Light 2da74ad043 Use uhpa for topics. 11 years ago
Roger A. Light 2ecee163ef Use uhpa for payloads. 11 years ago
Roger A. Light 45b8220a82 [458690] Fix build for WITH_BRIDGE=no
Thanks to Alexandre Zia.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=458690
11 years ago
Roger A. Light 34176359c9 [452913] Prevent dereferencing of NULL string.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452913
11 years ago
Roger A. Light 778bd4ca25 Clear store variable correctly here. 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 a1f18323d1 Make bridge connections non-blocking for non-TLS connections. 11 years ago
Roger A. Light 372b64a290 More "client has disconnected but is not freed" protections. 11 years ago
Roger A. Light bdb3e74100 More memory fixes. 11 years ago
Roger A. Light 764b7e0a91 Use hash functions to store client data. 11 years ago
Roger A. Light 6a7f77d2a8 More intelligent client counting. 11 years ago
Roger A. Light 0224db85c4 Fix bug #1324411 12 years ago
Roger A. Light 4bb7a45b71 Crude, hard coded websockets support. No TLS. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago