[kopete-bugs] [Bug 212585] frequent error message: there was an unrecoverable error in the protocol

Stéphane Berthelot sberthelot at emisfr.com
Thu Feb 4 14:32:49 CET 2010


https://bugs.kde.org/show_bug.cgi?id=212585


Stéphane Berthelot <sberthelot at emisfr.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sberthelot at emisfr.com




--- Comment #15 from Stéphane Berthelot <sberthelot emisfr com>  2010-02-04 14:32:43 ---
I can confirm this bug on Slackware 13.0 / Kopete 0.80.2 (kde 4.3.4) / openfire
3.6.4

Why not use kernel per-connection tcp keepalive feature with setting a
sufficiently low value ? ie.
TCP_KEEPIDLE 10
TCP_KEEPINTVL 1
TCP_KEEPCNT 5
which would cause disconnection on 15 sec with no answer.

It seems preferable to me to let the kernel do the job :) (disconnect) rather
that trying to manipulate its internal structures. On very fast networks or
very congested it may lead to false positives...

I'm on GigE at work and it disconnects more frequently that at home (DSL
connection to the same openfire server)

This howto may be useful
http://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#codeneeding

If some people confirm me that this idea is good enough, I'll write and test a
patch.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list