Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.c @ 17893:0d799da3b893
Add TODO for msimprpl to timeout (handling keep-alives).
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 20 Jun 2007 03:31:09 +0000 |
parents | 9cb771adbdea |
children | 333fe6ac1046 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Wed Jun 20 03:28:05 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Jun 20 03:31:09 2007 +0000 @@ -1055,6 +1055,10 @@ } else if (msim_msg_get(msg, "error")) { return msim_error(session, msg); } else if (msim_msg_get(msg, "ka")) { + /* TODO: Setup a timer, if keep-alive is not received within ~3 minutes, then + * disconnect the user. As it stands, if Internet connection goes out (this + * just happened here), msimprpl will appear to be connected forever, while + * other plugins (oscar, etc.) will time out. Msimprpl should timeout too. */ purple_debug_info("msim", "msim_process: got keep alive\n"); return TRUE; } else {