Disconnected clients remaining online on Openfire server with websockets

I'm using Openfire as XMPP server and I added the websocket plugin to it in order to improve some chat features (ie file transfer).

Communication via xmpp among my web clients works fine but there is an issue on client network disconnections or changes.

In fact in those cases disconnected clients still remain online in the server, even if a timeout in the idle connection policy is set .

No ping is sent to the clients, so openfire never checks if client connections are active or not.

I've seen that an issue is still open: https://igniterealtime.org/issues/browse/OF-963

Is there a workaround to avoid disconnected clients remaining online on Openfire server with websockets?

链接地址: http://www.djcxy.com/p/94136.html

上一篇: 建立一个xmpp服务器

下一篇: 断开连接的客户端与WebSockets保持联机