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.
2014-10-08 21:16:34 +01:00
Roger A. Light
429c892557
Fix saving persistent database on Windows.
...
Thanks to Daniel Degasperi.
2014-10-08 20:51:17 +01:00
Roger A. Light
43556537e3
Don't ask for client cert when require_certificate is false.
2014-10-07 23:20:46 +01:00
Roger A. Light
1e87697359
Fix mutex being incorrectly passed by value. Fixes bug #1373785 .
2014-10-05 21:56:44 +01:00
Roger A. Light
4a19d9ae3a
Fix possible memory leak when using a topic that has a leading slash.
...
Fixes bug #1360986 .
2014-10-05 21:24:08 +01:00
Roger A. Light
ac00949793
Add missing socks code!
2014-10-02 09:42:19 +01:00
Roger A. Light
41ebd31ac5
Add note on defaults.
2014-09-30 01:06:57 +01:00
Roger A. Light
fdc8c08ca3
Add socks to cpp library.
2014-09-30 01:04:10 +01:00
Roger A. Light
8f8816b092
Fix conditional compilation, add headers.
2014-09-30 01:02:12 +01:00
Roger A. Light
42420cae46
Add experimental SOCKS5 support for the clients.
2014-09-30 00:56:57 +01:00
Roger A. Light
e9c18f8347
mosquitto_loop_forever now quits after a fatal error, rather than blindly retrying.
2014-09-30 00:42:30 +01:00
Roger A. Light
950c4ed9c6
Check return value of fseek for errors.
2014-09-23 00:45:12 +01:00
Roger A. Light
84214bcd99
Simplify appending of topics when tokenising. Helps remove dead code.
2014-09-23 00:42:25 +01:00
Roger A. Light
aa2e6a8d29
Fix possible NULL derefence.
2014-09-23 00:35:51 +01:00
Roger A. Light
db9d6b9f3d
Fix potential memory leak from context->current_out_packet.
2014-09-23 00:32:34 +01:00
Roger A. Light
154b2fc264
Must remove memory reference here.
2014-09-22 23:37:19 +01:00
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.
2014-09-22 23:35:09 +01:00
Roger A. Light
2a922e9f06
Fix verbose logging on reload.
2014-09-22 23:05:29 +01:00
Roger A. Light
ac377b7bd1
Match upstart prefix to default config.mk.
2014-09-21 21:57:53 +01:00
Roger A. Light
e561b5ea08
Windows fix.
2014-09-19 10:43:14 +01:00
Roger A. Light
7fb629d818
Fix potential leak.
2014-09-19 00:56:37 +01:00
Roger A. Light
58c857c473
Fix for windows.
2014-09-19 00:35:10 +01:00
Roger A. Light
58a7565a2b
Check http request directories on Windows.
2014-09-17 23:14:22 +01:00
Roger A. Light
9d8510dfa2
Use mosquitto memory allocation functions in uthash, to give better heap reporting.
2014-09-17 22:58:46 +01:00
Roger A. Light
74809c7781
Remove python reference in config.mk.
2014-09-17 22:45:44 +01:00
Roger A. Light
99779c03c7
Fix reporting of local bridge status.
2014-09-17 22:40:49 +01:00
Roger A. Light
65526d2746
No need to call lws_partial_buffered() here. It is never set at the start of a callback.
2014-09-17 22:27:18 +01:00
Roger A. Light
f61a8cbf74
Get address for websockets clients.
2014-09-17 22:19:45 +01:00
Roger A. Light
91fa1c9625
Disable ipv6 websockets.
2014-09-17 21:55:02 +01:00
Roger A. Light
2bf7a8fb13
Prevent NULL derefencing and accessing of freed memory.
2014-09-17 21:53:39 +01:00
Roger A. Light
3d58f5ed82
Some minor memory leak fixes.
2014-09-17 21:50:08 +01:00
Roger A. Light
1fb5a3edc6
Use hash counts to calculate numbers of clients.
2014-09-17 00:03:14 +01:00
Roger A. Light
3eead8c507
retained_ and subscription_count only used with sys tree.
2014-09-16 23:48:26 +01:00
Roger A. Light
7b1ee68ef1
Remove compilation warnings for various configurations.
2014-09-15 22:13:13 +01:00
Roger A. Light
dd36c4b273
Don't attempt to find real path of NULL.
2014-09-15 21:43:44 +01:00
Roger A. Light
9286da192e
Fix unused var.
2014-09-14 18:12:30 +01:00
Roger A. Light
f9951595c8
Fix missing headers.
2014-09-14 18:08:09 +01:00
Roger A. Light
d9d1f2f7b8
Don't display usage information on every error.
2014-09-10 16:10:53 +01:00
Roger A. Light
65a4b790f3
Check for invalid topics before connecting.
2014-09-10 16:09:15 +01:00
Roger A. Light
06bec1083d
Expose mosquitto_pub_topic_check() and mosquitto_sub_topic_check().
2014-09-10 15:57:20 +01:00
Roger A. Light
3c5ca95c81
File serving from http on *nix.
2014-09-08 23:25:02 +01:00
Roger A. Light
b84ca80052
Skeleton callback_http() function.
2014-09-08 18:39:51 +01:00
Roger A. Light
f500ff78b8
no_buffer_all_partial_tx not in latest LWS.
2014-09-08 18:24:12 +01:00
Roger A. Light
c4e7233159
Add http_dir option (not yet used).
2014-09-08 18:21:53 +01:00
Roger A. Light
d75473ec63
Fix possible memory leaks.
...
Thanks to Johann Haarhoff.
2014-09-06 21:51:59 +01:00
Roger A. Light
1b68bfbf76
Fix typo.
...
Thanks to Leon George.
2014-09-06 21:17:01 +01:00
Roger A. Light
b01b0b581f
Produce error if unable to create WS listener.
2014-08-19 16:29:42 +01:00
Roger A. Light
ef573448f4
Another bridge notification fix.
2014-08-19 11:29:24 +01:00
Roger A. Light
1fdc4ceee6
Check expiration every hour regardless of the duration.
2014-08-19 01:11:22 +01:00
Roger A. Light
76724c790e
Disconnect expired clients correctly.
2014-08-19 00:36:09 +01:00