libpurple/protocols/jabber/google/relay.c

branch
cpw.malu.xmpp.google_relay
changeset 30778
4b194d7b03db
parent 30776
fccc7736b20e
child 31294
73607ab89c6f
--- a/libpurple/protocols/jabber/google/relay.c	Mon Sep 06 19:28:13 2010 +0000
+++ b/libpurple/protocols/jabber/google/relay.c	Mon Sep 06 19:32:51 2010 +0000
@@ -122,6 +122,8 @@
 {
 	PurpleUtilFetchUrlData *url_data = NULL;
 	gchar *url = g_strdup_printf("http://%s", js->google_relay_host);
+	/* yes, the relay token is included twice as different request headers,
+	   this is apparently needed to make Google's relay servers work... */
 	gchar *request =
 		g_strdup_printf("GET /create_session HTTP/1.0\r\n"
 			            "Host: %s\r\n"

mercurial