Loïc Hoguin
f3fe54f647
Make send method configurable and export useful functions
...
Needed for the new Web-MQTT plugin.
2016-01-07 16:19:01 +01:00
Michael Klishin
624a7741cf
Merge branch 'colons-in-username' of https://github.com/lshift/rabbitmq-mqtt into lshift-colons-in-username
2015-11-28 20:42:22 +03:00
Michael Klishin
b84260c721
Fix the build and a bug
...
Make sure that authentication with username taken from TLS/x509
certificate succeeds; respect rabbitmq_mqtt.ssl_cert_login.
Due to a match clause ordering issue it wasn't the case.
2015-11-28 20:20:32 +03:00
ash
001f4a1a01
add option to ignore colons in usernames
2015-11-19 11:36:24 +00:00
Michael Klishin
c15812ac44
merge stable into master
2015-10-21 20:18:33 +03:00
Michael Klishin
0e3efda1ab
Merge branch 'stable'
2015-09-30 04:03:26 +08:00
Giuseppe Privitera
d26b6e1c91
set auto_delete=false for QoS1 subscriptions
2015-09-29 11:23:34 +01:00
ash-lshift
b633549801
revert warning fix
2015-07-14 11:03:31 +01:00
ash-lshift
8fb4904fdc
whitespace changes
2015-07-14 10:56:02 +01:00
ash-lshift
bafb39f5f0
don't use `apply/2`
2015-07-14 10:47:39 +01:00
ash-lshift
6bc3579023
fix compile warnings
2015-07-14 10:47:01 +01:00
ash-lshift
fabf2614ab
rename `K` to `Fn`
2015-07-14 10:34:25 +01:00
ash-lshift
868b845101
change resource kind to `topic`
2015-07-14 10:31:42 +01:00
ash-lshift
f293972f3c
check authorization at mqtt topic level
2015-06-30 09:08:26 +01:00
Michael Klishin
8712428268
Merge branch 'stable'
2015-05-24 04:55:07 +03:00
Michael Klishin
692c6a7060
(c) year
2015-05-24 04:54:58 +03:00
Michael Klishin
e8ae92a910
Don't crash if we get a PUBACK for unknown message
...
E.g. due to bogus clients that interpret QoS downgrade
in curious ways.
2015-04-26 04:51:04 +03:00
Michael Klishin
3c30c87767
Change how retained message delivery QoS is calculated
...
We now take the lower value of message QoS and
SUBSCRIBE QoS, per community feedback.
2015-04-25 19:35:47 +03:00
Michael Klishin
df47dbd77a
Refactor
2015-04-22 00:31:23 +03:00
Michael Klishin
2c6c21a4ef
Undo this accidental change
2015-04-21 17:39:20 +03:00
Michael Klishin
0b6e7d5714
put/get/delete operations for retained message store
...
Yet to be done: dump and restore to disk on shutdown
and boot.
2015-04-21 14:26:46 +03:00
Michael Klishin
1c935cfb21
Process bits for retained message stores
2015-04-18 03:55:34 +03:00
Michael Klishin
b853a637b3
merge stable into default
2015-02-10 15:54:30 +03:00
Michael Klishin
63ff3a105a
MQTT processor should link its channel
2015-02-10 15:52:02 +03:00
Simon MacMullen
92cd34594d
stable to default
2014-12-02 12:40:59 +00:00
Michael Klishin
117d556ea2
ssl_cert_login and allow_anonymous probably won't be explicitly set to undefined
2014-11-28 18:08:42 +03:00
Michael Klishin
ad3af36155
Don't swallow exceptions in mqtt_processor:process_frame/1
2014-11-28 17:40:16 +03:00
Michael Klishin
df5eb6aa57
Certificate authencation needs to be enabled explicitly, as with STOMP
...
Using the same ssl_cert_login app key.
2014-11-24 21:22:09 +03:00
Michael Klishin
a0def030d2
Ditto
2014-11-24 16:59:19 +03:00
Michael Klishin
06f8a2db70
Cosmetics
2014-11-24 16:58:48 +03:00
Michael Klishin
cee8eb2fd8
Client MQTT authentication using x509 certificates
...
Original patch by Eric Rauer.
2014-11-21 14:54:33 +00:00
Michael Klishin
58a8c6a0f0
Use human-readable MQTT versions in connection adapter info
2014-08-25 13:43:11 +04:00
Michael Klishin
f05ca5e4c2
Use manual delivery flow control
2014-08-11 14:26:27 +04:00
Michael Klishin
40c6380095
Handle MQTT processor errors more gracefully
2014-07-03 21:36:17 +04:00
Matthias Radestock
bc1cdd77d5
merge stable into default
2014-03-31 13:29:39 +01:00
Matthias Radestock
56860f2009
cosmetic
2014-03-31 13:17:29 +01:00
Emile Joubert
35dc34bfff
Better 3.1.1 compatibility
2014-03-19 12:05:42 +00:00
Simon MacMullen
4e07b1d640
Update copyright for 2014
2014-03-17 17:25:23 +00:00
Simon MacMullen
04577ad084
Check source of user is acceptable.
2014-02-18 17:33:33 +00:00
Simon MacMullen
23019b084f
Cosmetic: fix indentation.
2014-02-18 17:33:00 +00:00
Simon MacMullen
24644c8b25
stable to default
2014-01-30 15:34:48 +00:00
Simon MacMullen
f06453a0b9
Publish persistent messages for QoS 1.
2014-01-30 15:33:59 +00:00
Emile Joubert
8d950b1f26
Detection of absent keepalives
2014-01-06 17:50:02 +00:00
Emile Joubert
f98298a818
Merged stable into default
2013-12-04 15:13:57 +00:00
Emile Joubert
d65d20b8b9
Termination conditions when receiving multiple acks
2013-12-04 14:59:22 +00:00
Simon MacMullen
b6c09249e6
stable to default
2013-11-19 16:32:46 +00:00
Emile Joubert
4568741872
Support vhosts as part of username
2013-11-18 12:00:47 +00:00
Emile Joubert
f87e71af92
Unregister client IDs correctly
2013-11-14 13:48:14 +00:00
Emile Joubert
69b255af77
Propagate Erlang client API change
2013-09-24 11:24:21 +01:00
Simon MacMullen
0369111d32
stable to default
2013-09-16 14:45:09 +01:00