[ejabberd] Ejabberd not accepting compression after SASL

samad khadivar skhadivar at gmail.com
Mon Feb 22 09:54:36 MSK 2016

I installed ejabberd-16.01-linux-x86_64-installer.run. I want to use
compression in ejabberd using smack.
I find this link
and I changed ejabberd_c2s.erl according to it and compile it, then replace
it in /opt/ejabberd-16.01/lib/ejabberd-16.01/ebin/ejabberd_c2s.erl.
I compile ejabberd_c2s.erl in this directory
 /opt/ejabberd-16.01/lib/ejabberd-16.01/include(hrl) using this command
erlc ejabberd_c2s.erl
I get this warring
ejabberd_c2s.erl:28: Warning: behaviour ejabberd_config undefined
ejabberd_c2s.erl:40: Warning: behaviour p1_fsm undefined
restart my ejabberd and run it. when my clinet want to connect it returns
this error.

2016-02-22 10:13:07.658 [error] <0.1703.0> CRASH REPORT Process <0.1703.0>
with 0 neighbours exited with reason: call to undefined function
p1_logger:debug_msg(ejabberd_c2s, 1847, "Send XML on stream = ~p",
[<<"<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='
http://etherx.jabber....">>]) in p1_fsm:terminate/8 line 760

I test it with ejabberd 15.11 and I get that error
Thanks in advance.

*----------Best Regards*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20160222/7fc97443/attachment.html>

More information about the ejabberd mailing list