NettyChannelAssertions class has been modified so you could add a message to the assertion. Unit tests have been added to test the modified processConnect() method. The server can allow zero byte client identifiers through moquette configuration.
22 lines
615 B
Plaintext
22 lines
615 B
Plaintext
##############################################
|
|
# Moquette configuration file.
|
|
#
|
|
# The synthax is equals to mosquitto.conf
|
|
#
|
|
##############################################
|
|
|
|
port 1883
|
|
|
|
websocket_port 8080
|
|
|
|
host 0.0.0.0
|
|
|
|
password_file config/password_file.conf
|
|
|
|
#false to accept only client connetions with credentials
|
|
#true to accept client connection without credentails, validating only the one that provides
|
|
allow_anonymous true
|
|
|
|
#false to prohibit clients from connecting without a clientid.
|
|
#true to allow clients to connect without a clientid. One will be generated for them.
|
|
allow_zero_byte_client_id false |