diff libpurple/protocols/jabber/google/relay.c @ 30970:2a7d721bdfa6

Added comment about including the relay token twice in the HTTP request
author Marcus Lundblad <ml@update.uu.se>
date Mon, 06 Sep 2010 19:32:51 +0000
parents c954ee775713
children a8cc50c2279f
line wrap: on
line diff
--- 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"