Bug #500
Detection of forced disconnects takes very long (Freenode)
100%
Description
Whenever the internet connection is dropped by force (my ISP does this once per day), the core needs quite long to detect this disconnect (15..20 minutes on Freenode). During the timeout period I can still write into any buffer; the text just goes nowhere, without any indication that it didn't reach the server.
As discussed in #quassel, the solution is probably to make the core ping the server periodically, if no message(s) arrive from the server within a certain interval. Monitoring the network activity of another IRC client has shown that it uses this method to quickly detect disconnects even on Freenode, using a ping interval of approx. 30 seconds.
Associated revisions
History
#1 Updated by EgS almost 16 years ago
- Status changed from New to Confirmed
- Estimated time set to 1.00 h
Quassel already pings the IRC server periodically to determine the lag to the IRC network. (this is currently only visible in the tooltip of the network item). Should be fairly easy to hook in there and disconnect after a given timeout.
#2 Updated by EgS almost 16 years ago
- Due date set to 02/16/2009
- Status changed from Confirmed to Assigned
- Assignee set to EgS
- Target version set to 0.4.0
- OS set to Any
#3 Updated by EgS almost 16 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset 32c550d8f25392616de13fe761285ac13cf5e0d9.
fixes #500 - improved detection of disconnects from irc