I think this is a bug...

Pedro Melo melo at simplicidade.org
Mon Feb 26 12:58:09 UTC 2007


Hi,

I'm not sure but I think this is a bug. WIth the current code, the  
server goes into a loop.

Basically the code in IQ.pm for on_recv_from_client() fails to  
recognize local at domain as a valid "to the server" IQ. I think the bug  
is that it should be calling

$conn->vhost->handles_jid($to)

and not

$conn->vhost->uses_jid($to)

at line 14.

Attached patch switches to handles_jid.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: IQ.pm-diff
Type: application/octet-stream
Size: 366 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20070226/d7214fdc/IQ.obj
-------------- next part --------------

Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo at simplicidade.org
Use Jabber!




More information about the Djabberd mailing list