reconnecting a plugin
liedekef at telenet.be
Wed Nov 21 12:04:12 UTC 2007
> as mentioned on
> djabberd needs to be restarted when reconnecting a plugin (eg. pymsn-t,
> pyaim-t, mu-conference, ...). Is this intended or can this be solved in
> another way?
This seems to be a problem with Danga::Socket, function AddOtherFds,
which is called by _start_listener. This function (_start_listener,
AddOtherFds) is also called again when a connection to an external
component ends. But because of the reuse of the same fd, this is causing
troubles I guess ...
For now, a simple solution: remote the call to _stop_listener (in
_start_listener function) and to _start_listener (in
handle_component_disconnect function) in Component/External.pm.
More information about the Djabberd