changeset 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 8737d2e4b297
children f48c44a9aed5
files libpurple/protocols/jabber/google/relay.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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"