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 |
|
Roger A. Light
|
3577dbf332
|
Add sock hash earlier to avoid crashes.
|
2014-06-23 23:47:48 +01:00 |
|
Roger A. Light
|
0fc0e13a8f
|
Can't access mosq after free.
|
2014-06-23 18:44:42 +01:00 |
|
Roger A. Light
|
19056e6d4c
|
Removed $SYS/broker/changeset.
|
2014-06-23 18:37:15 +01:00 |
|
Roger A. Light
|
480d8a08d0
|
Count disconnected clients on persistence restore.
|
2014-06-23 18:29:25 +01:00 |
|
Roger A. Light
|
749ea76678
|
Typo.
|
2014-06-23 18:20:32 +01:00 |
|
Roger A. Light
|
cc33a6e5af
|
Do proper cleanup, including websockets.
|
2014-06-23 18:18:29 +01:00 |
|
Roger A. Light
|
764b7e0a91
|
Use hash functions to store client data.
|
2014-06-23 17:57:35 +01:00 |
|
Roger A. Light
|
7911db1a1e
|
Simplify.
|
2014-06-23 09:43:32 +01:00 |
|
Roger A. Light
|
bd2aa2f426
|
Add batch mode to mosquitto_passwd.
|
2014-06-20 20:59:04 +01:00 |
|
Roger A. Light
|
9a9dba6cd5
|
Support for mqttv3.1 subprotocol string.
|
2014-06-20 10:52:10 +01:00 |
|
Roger A. Light
|
29e65e4965
|
Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP.
|
2014-06-18 23:17:40 +01:00 |
|
Roger A. Light
|
b08fc7272d
|
Make uuid linking optional.
|
2014-06-18 22:57:55 +01:00 |
|
Roger A. Light
|
4025fad5aa
|
libuuid is used to generate client ids, where it is available, when an MQTT v3.1.1 client connects with a zero length client id.
|
2014-06-15 01:07:05 +01:00 |
|
Roger A. Light
|
731391bcb3
|
Separate function for generating a random client id.
|
2014-06-15 00:37:30 +01:00 |
|
Roger A. Light
|
0461c08fdf
|
use_identity_as_username now no longer affects non-TLS listeners.
|
2014-06-14 23:42:24 +01:00 |
|
Roger A. Light
|
af49fc556a
|
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-06-13 23:07:00 +01:00 |
|
Roger A. Light
|
930b917217
|
Save disconnect_t for connected clients when the broker exits.
|
2014-06-13 22:34:04 +01:00 |
|
Roger A. Light
|
717e0addae
|
Use default tls version in tests where possible.
|
2014-06-13 14:30:25 +01:00 |
|
Roger A. Light
|
e6c5f5af7e
|
Add missing usage text.
|
2014-06-12 22:23:55 +01:00 |
|
Roger A. Light
|
11631d8d92
|
Add local_clientid for bridges.
|
2014-06-10 23:30:15 +01:00 |
|
Roger A. Light
|
aca67a2170
|
Better function names.
|
2014-06-08 22:51:36 +01:00 |
|
Roger A. Light
|
e221b37658
|
Add stats mode for db_dump.
|
2014-06-05 11:56:32 +01:00 |
|
Roger A. Light
|
7b62bfd7da
|
Use time() for disconnect_t, CLOCK_MONOTONIC isn't useful over reboots.
|
2014-06-04 22:14:16 +01:00 |
|
Roger A. Light
|
1ef8575a35
|
Reset disconnect_t on client reconnect.
|
2014-06-04 22:13:19 +01:00 |
|
Roger A. Light
|
ad43754b62
|
Log username in single quotes.
|
2014-06-03 17:06:11 +01:00 |
|
Roger A. Light
|
4430228855
|
Be consistent about removing listener counts on socket close.
|
2014-06-03 16:21:46 +01:00 |
|
Roger A. Light
|
7cef936ba6
|
Logging fixes.
|
2014-06-03 15:16:27 +01:00 |
|
Roger A. Light
|
2e221538ce
|
Test no longer needed.
|
2014-06-03 02:11:45 +01:00 |
|
Roger A. Light
|
c8a0786dea
|
TLS websockets support.
|
2014-06-03 02:10:55 +01:00 |
|
Roger A. Light
|
6a7f77d2a8
|
More intelligent client counting.
|
2014-06-02 22:08:40 +01:00 |
|
Roger A. Light
|
0d80800786
|
Don't refuse clients with will topic that isn't allowed by acl.
|
2014-06-02 01:19:48 +01:00 |
|
Roger A. Light
|
ef4b7a52a0
|
Fix missing headers for WITH_TLS=no.
|
2014-06-02 01:01:29 +01:00 |
|
Roger A. Light
|
fd7d5ebbb9
|
Change $SYS/broker/clients/[in]active -> $SYS/broker/clients/[dis]connected
|
2014-06-02 00:51:40 +01:00 |
|
Roger A. Light
|
e4ddc31295
|
Fix for MQTT-3.8.4-3.
|
2014-05-31 23:26:46 +01:00 |
|
Roger A. Light
|
85af9bdd9a
|
Simplify.
|
2014-05-31 22:12:20 +01:00 |
|
Roger A. Light
|
87579e0cac
|
Remove STRICT_PROTOCOL #ifdefs.
|
2014-05-31 21:53:35 +01:00 |
|
Roger A. Light
|
1984e2e37d
|
v3.1.1 requires websockets protocol to be mqtt.
|
2014-05-31 21:24:16 +01:00 |
|
Roger A. Light
|
c13f4c7931
|
Close config files on error.
|
2014-05-31 21:12:39 +01:00 |
|
Roger A. Light
|
a229b05f58
|
These options are supported.
|
2014-05-31 20:59:39 +01:00 |
|
Roger A. Light
|
5da25ae5d9
|
Add support for "session present" in CONNACK messages for MQTT v3.1.1.
|
2014-05-31 15:20:40 +01:00 |
|
Roger A. Light
|
0224db85c4
|
Fix bug #1324411
|
2014-05-29 15:22:48 +01:00 |
|
Roger A. Light
|
25dd5d88ed
|
Don't leak socket here.
|
2014-05-27 22:03:01 +01:00 |
|
Roger A. Light
|
6cc3e7999e
|
Tidy up.
|
2014-05-27 22:02:52 +01:00 |
|
Roger A. Light
|
9015ee962e
|
unlock mutex on return.
|
2014-05-27 21:50:42 +01:00 |
|
Roger A. Light
|
fd7fbba3a5
|
Use shared config code for debug arg.
|
2014-05-27 21:48:32 +01:00 |
|
Roger A. Light
|
859224224a
|
Fix potential memory leak.
|
2014-05-27 21:11:05 +01:00 |
|
Roger A. Light
|
6a03972507
|
Default to websockets off for cmake.
|
2014-05-27 19:49:33 +01:00 |
|