Commit Graph

298 Commits

Author SHA1 Message Date
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
Roger A. Light
1c8433925d mosquitto_time() calculation to after keepalive check to avoid delays. 2014-07-09 21:40:27 +01:00
Roger A. Light
fa9fece76a Doc addition. 2014-07-09 20:42:39 +01:00
Roger A. Light
8b2effcc36 Don't check for POLLERR or POLLNVAL.
Errors will be caught when trying to read anyway, and doing these checks
here means that sockets may be closed prematurely.
2014-07-08 23:43:21 +01:00
Roger A. Light
0ff0cfb3d3 Need to include bridges here. 2014-07-08 23:29:16 +01:00
Roger A. Light
9bb336bbf3 Use do_disconnect() for websockets. 2014-07-08 23:18:11 +01:00
Roger A. Light
95a4ec431d Don't try to disconnect twice. 2014-07-08 23:16:34 +01:00
Roger A. Light
bb1a69b7d7 Disconnect clients consistently. 2014-07-08 23:07:19 +01:00
Roger A. Light
22094aa00d Memory checks. 2014-07-04 21:32:27 +01:00
Roger A. Light
3fd1dc477f Fix defects identified by Coverity. 2014-07-03 21:55:25 +01:00
Roger A. Light
5ac576f2ab Request write callback if there is still more to send. 2014-07-03 18:48:40 +01:00
Roger A. Light
405b7f0aab Don't free here, leads to potential double free. 2014-07-03 17:37:31 +01:00
Roger A. Light
0856e9519d Need to assign ws_context here. 2014-07-03 11:32:54 +01:00
Roger A. Light
399453837d Log websockets listeners being opened. 2014-07-03 11:32:29 +01:00
Roger A. Light
13f94f3511 More reconnect fixes. 2014-07-03 01:00:57 +01:00
Roger A. Light
2b300b718b Fix double free for websockets with bad auth. 2014-07-02 20:57:04 +01:00
Roger A. Light
a831281b3d Delete clients after socket close. 2014-07-02 20:49:06 +01:00
Roger A. Light
5c7512b8ba Add mosquitto_threaded_set(). 2014-07-02 20:45:26 +01:00
Roger A. Light
0fb064e0b4 Fix clean session for reconnecting clients. 2014-07-02 20:44:08 +01:00
Roger A. Light
fe5dba5887 Add use_username_as_clientid. 2014-07-02 00:09:50 +01:00
Roger A. Light
cabcada849 Test fixes. 2014-07-01 22:33:03 +01:00
Roger A. Light
1257fd49eb Fixes for clients that disconnect very quickly. 2014-07-01 22:16:53 +01:00
Roger A. Light
fd9496433c Configure client tests for valgrind. 2014-07-01 22:02:06 +01:00
Roger A. Light
864f1f0d23 Initialise variable. 2014-06-30 23:37:37 +01:00
Roger A. Light
84619c296d Fix building for WITH_BRIDGE=no. 2014-06-30 23:37:03 +01:00
Roger A. Light
d75903b0ae Fix reconnect support for websockets. 2014-06-30 23:30:43 +01:00
Roger A. Light
39674a443e Need bigger delay for valgrind. 2014-06-30 22:55:56 +01:00
Roger A. Light
d60e44ec1b Handle reconnects for websockets. 2014-06-30 06:58:56 +01:00
Roger A. Light
542ebb2480 Free peer certificate after use. 2014-06-30 05:33:41 +01:00
Roger A. Light
bdb3e74100 More memory fixes. 2014-06-29 23:16:10 +01:00
Roger A. Light
15efd2d072 Various memory fixes. 2014-06-28 01:38:58 +01:00
Roger A. Light
ff5fd26e13 Free base64 memory properly. 2014-06-27 22:59:50 +01:00
Roger A. Light
6427105bf6 Tests can now use valgrind. 2014-06-26 23:12:55 +01:00
Roger A. Light
7f18ced0b4 Close websockets connection if we are set to disconnecting. 2014-06-26 22:13:22 +01:00
Roger A. Light
482d604598 Only remove from hash if a valid socket (i.e. if present) 2014-06-23 23:51:16 +01:00