Commit Graph

1182 Commits

Author SHA1 Message Date
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
Roger A. Light
580cd722dc Remote/local bridge fixes. 2014-08-16 23:14:41 +01:00
Roger A. Light
b937a043e7 Rename remote bridge identifiers to remote_. 2014-08-16 21:31:12 +01:00
Roger A. Light
a03465da3f Man page fix. 2014-08-15 16:38:50 +01:00
Roger A. Light
abe72b8e4c Keep retrying to reconnect without calling loop on failure. 2014-08-15 00:00:04 +01:00
Roger A. Light
57bb64aae1 Bump version number. 2014-08-06 00:28:15 +01:00
Roger A. Light
950db12c74 Don't free local bridge clients on disconnect. 2014-08-05 09:06:50 +01:00
Roger A. Light
b6eddea55b Update changelog. 2014-08-02 22:19:01 +01:00
Roger A. Light
b612c6bf22 Fix test. 2014-08-02 22:17:30 +01:00
Roger A. Light
56ff849c65 Backout changeset c7589b77956c5bac076ae23905fbfc8902d69dc5. 2014-08-02 21:48:08 +01:00
Roger A. Light
e6239e1b3c Backout changeset 76f3a755c6548690f69f2256c8b83c7a0f0f9a95. 2014-08-02 21:43:04 +01:00
Roger A. Light
4752994d3b Backout changeset 818550be2d1ba200c14e9d63551982e50f4384f2. 2014-08-02 21:42:41 +01:00
Roger A. Light
d8a3ab7d56 Don't ask client for certificate when require_certificate is false.
Thanks to Jan-Piet Mens.
2014-08-02 21:40:54 +01:00
Roger A. Light
c1ea95d2d4 Supports 3.1.1 now. 2014-08-02 20:18:44 +01:00
Roger A. Light
329301f084 Bump version number. 2014-08-01 21:35:55 +01:00
Roger A. Light
8e7736b78e Fix incorrect handling of anonymous bridges on the local broker.
Thanks to Jan-Piet Mens.
2014-08-01 21:34:21 +01:00
Roger A. Light
6af0c236e8 Each listener requires its own copy of the protocols struct. 2014-07-28 14:14:36 +01:00
Roger A. Light
06d5e000f1 Fix apparmor profile to match debian packaging.
Thanks to Danilo Tomasoni.
2014-07-28 09:22:20 +01:00
Roger A. Light
ae1477c08f Windows fixes. 2014-07-22 10:28:55 +01:00
Roger A. Light
57816cb520 Detect c-ares header in cmake. 2014-07-22 10:02:36 +01:00
Roger A. Light
c9da49b777 Pass mutex by reference, not value.
Thanks to Haseeb Abdul Qadir.
2014-07-20 21:17:29 +01:00
Roger A. Light
0d1cb339a8 Define STRIP. 2014-07-14 00:19:21 +01:00
Roger A. Light
4d9477abc7 Version bump 2014-07-13 22:54:19 +01:00
Roger A. Light
7a5dc33d67 Windows fix. 2014-07-13 22:39:14 +01:00
Roger A. Light
77999c7fd0 Fix incorrect commit. 2014-07-13 21:48:33 +01:00
Roger A. Light
e5aa843ec7 Don't allow access to clients when authenticating if a security plugin returns an application error. Fixes bug #1340782.
Thanks to Charlie Davis.
2014-07-13 21:20:18 +01:00
Roger A. Light
8efb4f9334 Fix bug #1324411
Thanks to chenzhenianqing.
2014-07-13 14:28:24 +01:00
Roger A. Light
885d8ca5db When a durable client reconnects, its queued messages are now checked against ACLs in case of a change in username/ACL state since it last connected.
Thanks to "web1".
2014-07-13 14:18:08 +01:00
Roger A. Light
45fa820989 Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP. 2014-07-13 14:11:43 +01:00