mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-03-24 09:13:36 +08:00
Add http origin checking to built in websockets.
This commit is contained in:
@@ -125,6 +125,7 @@ enum mosq_err_t {
|
||||
/* 28, 29, 30 - was internal only, moved to MQTT v5 section. */
|
||||
MOSQ_ERR_ALREADY_EXISTS = 31,
|
||||
MOSQ_ERR_PLUGIN_IGNORE = 32,
|
||||
MOSQ_ERR_HTTP_BAD_ORIGIN = 33,
|
||||
|
||||
/* MQTT v5 direct equivalents 128-255 */
|
||||
MOSQ_ERR_UNSPECIFIED = 128,
|
||||
|
||||
Reference in New Issue
Block a user