[SailfishDevel] SyncML Plugin Server question

deloptes deloptes at gmail.com
Thu Jul 25 11:20:44 UTC 2019


Hi,

I wanted to know if following scenario is normal from msyncd point of view
to stop the server when no sync was done and to leave the server running
after one sync was done.

E.0. restart msynd to make sure all is clean
A.1. enable BT - msyncd spawns the syncml-server process
A.2. disable BT - msyncd terminates the syncml-server process. 


E.0. restart msynd to make sure all is clean
B.1. enable BT - msyncd spawns the syncml-server process
B.2. perform sync from PC - sync session (agent) exits
B.3. disable BT - msyncd does not terminate the syncml-server process. 


In A.2 it says
[W] unknown:0 - Invalid reply for stopListen from plugin and process is
killed-> exit 15
[W] unknown:0 - The server thread for profile:  "syncml" is still running.
Server will be deleted later
Server stopped: "syncml"
Process  "/usr/lib/buteo-plugins-qt5//oopp/syncml-server"  finished with
exit code 15

In B.3 it is not asking OOP profile or whatever to stop the server.

Which behavior is the correct one? Or where I can read? From the code
perspective in the plugin nothing was changed. When BT is disabled it
updates the state and emits the signal. Why is the buteo-syncfw behaving
differently?

Thank you in advance

regards






More information about the Devel mailing list