rabbitmq-server/deps/rabbitmq_web_mqtt
David Ansari 0058380fbd Web MQTT: Send CONNACK error code before closing connection
"If the Client supplies a zero-byte ClientId with CleanSession set to 0,
the Server MUST respond to the CONNECT Packet with a CONNACK return code 0x02
(Identifier rejected) and then close the Network Connection" [MQTT-3.1.3-8].

In Web MQTT, the CONNACK was not sent to the client because the Web MQTT
connection process terminated before being sending the CONNACK to the
client.
2023-02-28 10:33:57 +01:00
..
priv/schema Switch to MPL2 2020-07-15 03:02:19 +03:00
src Web MQTT: Send CONNACK error code before closing connection 2023-02-28 10:33:57 +01:00
test Revert "Format MQTT code with `erlfmt`" 2023-01-27 18:25:57 +00:00
.gitignore Git: Ignore copied CLI 2019-12-12 15:14:22 +01:00
BUILD.bazel Fix all dependencies for the dialyzer 2023-02-13 17:37:44 +01:00
CODE_OF_CONDUCT.md Replace files with symlinks 2022-04-15 06:04:29 -07:00
CONTRIBUTING.md Replace files with symlinks 2022-04-15 06:04:29 -07:00
LICENSE Cosmetics 2020-07-15 03:04:50 +03:00
LICENSE-MPL-RabbitMQ Revert drop of Exhibit B on MPL 2.0 2020-07-20 17:05:16 +01:00
Makefile Bump emqx/emqtt to 1.8.2 2023-02-21 17:25:19 +01:00
README.md Fix typo 2020-08-31 11:30:49 +02:00

README.md

RabbitMQ Web MQTT plugin

This plugin provides support for MQTT-over-WebSockets to RabbitMQ.

Installation

This plugin ships with modern versions of RabbitMQ. Like all plugins, it must be enabled before it can be used:

# this might require sudo
rabbitmq-plugins enable rabbitmq_web_mqtt

Documentation

Please refer to the RabbitMQ Web MQTT guide.

Building From Source

Note that release branches (stable vs. master) and target RabbitMQ version need to be taken into account when building plugins from source.

(c) 2007-2020 VMware, Inc. or its affiliates.

Released under the same license as RabbitMQ. See LICENSE for details.