# HG changeset patch # User Marcus Lundblad # Date 1283801571 0 # Node ID 2a7d721bdfa65b6605239cab82e35582372ac645 # Parent 8737d2e4b2977e062b9507ff79309c940b4627fc Added comment about including the relay token twice in the HTTP request diff -r 8737d2e4b297 -r 2a7d721bdfa6 libpurple/protocols/jabber/google/relay.c --- 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"