mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Return invalid-mechanism when a mechanism isn't supported instead of
no-mechanism, which wasn't standard-compliant. PR: EJABP-1 SVN Revision: 1838
This commit is contained in:
parent
8a413018c2
commit
cdbb000638
@ -3,6 +3,9 @@
|
||||
* src/acl.erl (match_acl/3): Use string() version of
|
||||
User/Server/Resource to match an ACL.
|
||||
|
||||
* src/cyrsasl.erl: Return invalid-mechanism when a mechanism isn't
|
||||
supported instead of no-mechanism, which wasn't standard-compliant.
|
||||
|
||||
2009-01-19 Pablo Polvorin <pablo.polvorin@process-one.net>
|
||||
|
||||
* src/cyrsasl_digest.erl: Typo (prolists -> proplists).
|
||||
|
@ -133,10 +133,10 @@ server_start(State, Mech, ClientIn) ->
|
||||
mech_state = MechState},
|
||||
ClientIn);
|
||||
_ ->
|
||||
{error, 'no-mechanism'}
|
||||
{error, 'invalid-mechanism'}
|
||||
end;
|
||||
false ->
|
||||
{error, 'no-mechanism'}
|
||||
{error, 'invalid-mechanism'}
|
||||
end.
|
||||
|
||||
server_step(State, ClientIn) ->
|
||||
|
Loading…
Reference in New Issue
Block a user