You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
408 B
Diff
16 lines
408 B
Diff
Description: Fix clients being disconnected in some situations when ACLs are in use. Issue #1162.
|
|
Author: Roger Light <roger@atchoo.org>
|
|
Forwarded: not-needed
|
|
--- a/src/security_default.c
|
|
+++ b/src/security_default.c
|
|
@@ -642,9 +642,6 @@
|
|
}
|
|
acl_tail = acl_tail->next;
|
|
}
|
|
- if(context->username && context->acl_list == NULL){
|
|
- return MOSQ_ERR_INVAL;
|
|
- }
|
|
}else{
|
|
context->acl_list = NULL;
|
|
}
|