Ticket #19 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

makes the bot reconnect if there are no pings for x seconds

Reported by: 0x002a@gmail.com Assigned to: giblet
Priority: normal Milestone: rbot 1.0
Component: misc Version: 0.9.9
Severity: normal Keywords: timeout ping reconnect
Cc:

Description

My bot didn't notice that its connection to the server got closed (by restarting pppoe btw). This patch adds a timer to check for the last time we received a PING and reconnects after x seconds.

I'm not sure the implementation is elegant, but at least you should get an idea what I was trying to do ;-)

Attachments

ping_timeout.patch (1.3 kB) - added by 0x002a@gmail.com on 08/27/05 06:13:40.
the patch

Change History

08/27/05 06:13:40 changed by 0x002a@gmail.com

  • attachment ping_timeout.patch added.

the patch

08/27/05 08:07:09 changed by giblet

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone set to rbot 1.0.

Awesome thanks for that - applying,