Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Aug 5, 2024

For consistency with other protocols (to protect from potential DoS attacks). Wrong credentials and virtual host access errors trigger the delay.

References #11831

We keep the delay low when running tests. Otherwise,

make -C deps/rabbitmq_mqtt ct-auth

would run 3 minutes longer (with a SILENT_CLOSE_DELAY of 3 seconds).


This is an automatic backport of pull request #11900 done by Mergify.

For consistency with other protocols (to protect from potential DoS attacks).
Wrong credentials and virtual host access errors trigger the delay.

References #11831

We keep the delay low when running tests. Otherwise,
```
make -C deps/rabbitmq_mqtt ct-auth
```
would run 3 minutes longer (with a SILENT_CLOSE_DELAY of 3 seconds).

(cherry picked from commit 80ff6d0)
@mergify mergify bot assigned ansd Aug 5, 2024
@ansd ansd merged commit 9e84378 into v4.0.x Aug 5, 2024
@ansd ansd deleted the mergify/bp/v4.0.x/pr-11900 branch August 5, 2024 19:33
michaelklishin added a commit that referenced this pull request Aug 6, 2024
Close MQTT connection with delay when authentication fails (backport #11900) (backport #11904)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants