Closed erszcz closed 9 years ago
I wasn't aware of any reason so I tried p1_fsm
from p1_utils
and everything works correctly (at least our tests say so) but session management... To narrow down the problem I renamed p1_fsm
from apps/ejabberd/src
to p1_fsm_old
and used it only for ejabberd_c2s
with that trick all tests from sm_SUITE pass.
The main difference between p1_fsm
from p1_utils
and p1_fms_old
is that the first one resends queued messages in terminate function while the second one doesn't.
This was solved by #322
We use
p1_cache_tab
which in turn fetchesp1_utils
. The latter is a package introduced in the new (i.e. post 2.x line) ejabberd and contains a number ofp1_*.erl
modules. However, we still have equivalents inapps/ejabberd/src/
, since back in the day when we forked the modules were distributed with ejabberd.This leads to duplicate beam files in the release, but I haven't experienced problems because of this. However, it makes generating a Dialyzer PLT impossible due to the error:
Is anyone aware of any reason not to drop the modules from
apps/ejabberd/src/
and rely onp1_utils
?