diff libpurple/mime.h @ 26355:79ca1cf55d9d

Because BOSH works over connections that may die non-fatally, we need to limit the number of failed re-connection attempts before we declare the session lost. Reset the failures each time we process a full read from the server, which is a little hacky, but indicates that we have a *working* connection.
author Paul Aurich <paul@darkrain42.org>
date Mon, 23 Mar 2009 00:47:46 +0000
parents 44b4e8bd759b
children 0c796a1950b7
line wrap: on
line diff