[ejabberd] PATCH: unhandled error message in method ejabberd_auth:is_user_exists
Eric Liang
eric.l.2046 at gmail.com
Thu May 27 11:05:19 MSD 2010
Hi all,
The error occured when I was testing ejabberd:
=ERROR REPORT==== 2010-05-27 03:46:42 ===
E(<0.15040.45>:ejabberd_sm:88) : {{case_clause,
{error,
{shutdown,
{p1_fsm,sync_send_event,
[<0.295.0>,
{sql_cmd,
{sql_query,
["select password from
users where username='",
"tsung85304","';"]}},
60000]}}}},
[{lists,any,2},
{ejabberd_sm,route_message,3},
{ejabberd_sm,route,3},
{ejabberd_local,route,3},
{ejabberd_router,route,3},
{ejabberd_c2s,session_established2,2},
{p1_fsm,handle_msg,10},
{proc_lib,init_p_do_apply,3}]}
when processing: {{jid,"11232814341274903131613362","XXXXXXXX","tsung",
"11232814341274903131613362","XXXXXXXX","tsung"},
{jid,"tsung85304","XXXXXXXX",[],"tsung85304",
"XXXXXXXX",[]},
{xmlelement,"message",
[{"id","587275"},{"to","tsung85304 at XXXXXXXX"}],
[{xmlelement,"body",[],
[{xmlcdata,<<"vtglimieyhemzlxc">>}]}]}}
I checked the codes, it's due to the unhandled error message in method
ejabberd_auth:is_user_exists, so I fixed it and generate the patch(
please see the attatchment ).
This is my first touch on ejabberd, so it's great if one of you would
review it.
Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100527/a4825f8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-the-bug-unhandled-error-message-from-auth-module.patch
Type: text/x-diff
Size: 1058 bytes
Desc: not available
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100527/a4825f8e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100527/a4825f8e/attachment.pgp>
More information about the ejabberd
mailing list