Commit Graph

1102 Commits (46b943b07711398b0accc0c186fe37bd10242a5a)
 

Author SHA1 Message Date
Roger A. Light ff5fd26e13 Free base64 memory properly. 11 years ago
Roger A. Light 6427105bf6 Tests can now use valgrind. 11 years ago
Roger A. Light 7f18ced0b4 Close websockets connection if we are set to disconnecting. 11 years ago
Roger A. Light 482d604598 Only remove from hash if a valid socket (i.e. if present) 11 years ago
Roger A. Light 3577dbf332 Add sock hash earlier to avoid crashes. 11 years ago
Roger A. Light 0fc0e13a8f Can't access mosq after free. 11 years ago
Roger A. Light 19056e6d4c Removed $SYS/broker/changeset. 11 years ago
Roger A. Light 480d8a08d0 Count disconnected clients on persistence restore. 11 years ago
Roger A. Light 749ea76678 Typo. 11 years ago
Roger A. Light cc33a6e5af Do proper cleanup, including websockets. 11 years ago
Roger A. Light 764b7e0a91 Use hash functions to store client data. 11 years ago
Roger A. Light 7911db1a1e Simplify. 11 years ago
Roger A. Light bd2aa2f426 Add batch mode to mosquitto_passwd. 11 years ago
Roger A. Light 9a9dba6cd5 Support for mqttv3.1 subprotocol string. 11 years ago
Roger A. Light 29e65e4965 Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP. 11 years ago
Roger A. Light b08fc7272d Make uuid linking optional. 11 years ago
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. 11 years ago
Roger A. Light 731391bcb3 Separate function for generating a random client id. 11 years ago
Roger A. Light 0461c08fdf use_identity_as_username now no longer affects non-TLS listeners. 11 years ago
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".
11 years ago
Roger A. Light 930b917217 Save disconnect_t for connected clients when the broker exits. 11 years ago
Roger A. Light 717e0addae Use default tls version in tests where possible. 11 years ago
Roger A. Light e6c5f5af7e Add missing usage text. 11 years ago
Roger A. Light 11631d8d92 Add local_clientid for bridges. 11 years ago
Roger A. Light aca67a2170 Better function names. 11 years ago
Roger A. Light e221b37658 Add stats mode for db_dump. 11 years ago
Roger A. Light 7b62bfd7da Use time() for disconnect_t, CLOCK_MONOTONIC isn't useful over reboots. 11 years ago
Roger A. Light 1ef8575a35 Reset disconnect_t on client reconnect. 11 years ago
Roger A. Light ad43754b62 Log username in single quotes. 11 years ago
Roger A. Light 4430228855 Be consistent about removing listener counts on socket close. 11 years ago
Roger A. Light 7cef936ba6 Logging fixes. 11 years ago
Roger A. Light 2e221538ce Test no longer needed. 11 years ago
Roger A. Light c8a0786dea TLS websockets support. 11 years ago
Roger A. Light 6a7f77d2a8 More intelligent client counting. 11 years ago
Roger A. Light 0d80800786 Don't refuse clients with will topic that isn't allowed by acl. 11 years ago
Roger A. Light ef4b7a52a0 Fix missing headers for WITH_TLS=no. 11 years ago
Roger A. Light fd7d5ebbb9 Change $SYS/broker/clients/[in]active -> $SYS/broker/clients/[dis]connected 11 years ago
Roger A. Light e4ddc31295 Fix for MQTT-3.8.4-3. 11 years ago
Roger A. Light 85af9bdd9a Simplify. 11 years ago
Roger A. Light 87579e0cac Remove STRICT_PROTOCOL #ifdefs. 11 years ago
Roger A. Light 1984e2e37d v3.1.1 requires websockets protocol to be mqtt. 11 years ago
Roger A. Light c13f4c7931 Close config files on error. 11 years ago
Roger A. Light a229b05f58 These options are supported. 11 years ago
Roger A. Light 5da25ae5d9 Add support for "session present" in CONNACK messages for MQTT v3.1.1. 11 years ago
Roger A. Light 0224db85c4 Fix bug #1324411 12 years ago
Roger A. Light 25dd5d88ed Don't leak socket here. 12 years ago
Roger A. Light 6cc3e7999e Tidy up. 12 years ago
Roger A. Light 9015ee962e unlock mutex on return. 12 years ago
Roger A. Light fd7fbba3a5 Use shared config code for debug arg. 12 years ago
Roger A. Light 859224224a Fix potential memory leak. 12 years ago