diff libpurple/protocols/yahoo/libymsg.h @ 30607:e9001aa49be8

Very hackily implement a fallback mechanism in Yahoo, but not for Yahoo Japan because we don't know hosts we can fall back to there yet. This fallback mechanism just blindly connects to scsa.msg.yahoo.com if the HTTP-based CS lookup fails. I guarantee this will break in the future. Refs #11986.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 13 Jun 2010 23:07:24 +0000
parents 9f482e11f066
children 81ffeb069847 47ff9247b95a
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.h	Sun Jun 13 05:44:13 2010 +0000
+++ b/libpurple/protocols/yahoo/libymsg.h	Sun Jun 13 23:07:24 2010 +0000
@@ -30,6 +30,7 @@
 #include "prpl.h"
 
 #define YAHOO_PAGER_HOST_REQ_URL "http://vcs1.msg.yahoo.com/capacity"
+#define YAHOO_PAGER_HOST_FALLBACK "scsa.msg.yahoo.com"
 #define YAHOO_PAGER_PORT 5050
 #define YAHOO_PAGER_PORT_P2P 5101
 #define YAHOO_LOGIN_URL "https://login.yahoo.com/config/pwtoken_login?src=ymsgr&ts=&token=%s"