Mercurial > pidgin
view libpurple/dbus-useful.h @ 21467:3d70e3ec8a47
My changes to disable external port mapping exposed a flaw where the server socket was being closed immediately, before the client had read all the data - this caused the client to receive a RST and consequently error. The solution is to wait for the client to close the connection before closing the server connection. I'm surprised this hasn't been a problem elsewhere - it seems like it would be.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 13 Nov 2007 06:27:27 +0000 |
parents | 32c366eeeb99 |
children | 98520ee78f12 |
line wrap: on
line source
#include "conversation.h" PurpleAccount *purple_accounts_find_ext(const char *name, const char *protocol_id, gboolean (*account_test)(const PurpleAccount *account)); PurpleAccount *purple_accounts_find_any(const char *name, const char *protocol); PurpleAccount *purple_accounts_find_connected(const char *name, const char *protocol);