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 |
|
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 |
|