Ticket #23 (closed enhancement: fixed)

Opened 17 months ago

Last modified 16 months ago

XMPP Ping

Reported by: smoku Owned by: smoku
Priority: trivial Component: sm
Version: 2.1 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

As more and more clients understand now XMPP Ping, it would be nice to make jabberd2 understand pinging. This means: - server replies to ping IQs from clients/servers/components - server sends ping to clients in order to check, whether connection still works

Attachments

ping.1.diff (4.5 kB) - added by DeSnajpa 16 months ago.
mod_iq_ping.c (2.1 kB) - added by DeSnajpa 16 months ago.
ping.2.diff (1.7 kB) - added by DeSnajpa 16 months ago.
supports in-sess

Change History

Changed 17 months ago by smoku

  • type changed from defect to enhancement

Changed 17 months ago by smoku

Server replying to pings makes sense. It enables all kinds of robot checkers.

But I think whitespace keepalives for clients are better than heavy pings.

Changed 17 months ago by smoku

  • priority changed from major to trivial

Implementing it as an SM module should be trivial. I'm proposing it as an exercise for anyone interested in jabberd2 development.

Changed 16 months ago by DeSnajpa

Attaching 1) patch for makefiles 2) mod_iq_ping.c, that will make sm respond to ping queries.

Changed 16 months ago by DeSnajpa

Changed 16 months ago by DeSnajpa

Changed 16 months ago by DeSnajpa

supports in-sess

Changed 16 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

(In [192]) Implemented XEP-0199: XMPP Ping [DeSnajpa?]. Closes #23

Note: See TracTickets for help on using tickets.