cpw.malu.xmpp.google_relay, im.pidgin.pidgin: 324a8e4d: Added comment about including the relay ...

malu at pidgin.im malu at pidgin.im
Mon Sep 6 15:40:48 EDT 2010


----------------------------------------------------------------------
Revision: 324a8e4d6b0d9259744d5a9723d849f1cb7730f0
Parent:   7b7453a9fedc85e52c5b238bb50d1d31d32ee7d0
Author:   malu at pidgin.im
Date:     09/06/10 15:32:51
Branch:   im.pidgin.cpw.malu.xmpp.google_relay
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/324a8e4d6b0d9259744d5a9723d849f1cb7730f0

Changelog: 

Added comment about including the relay token twice in the HTTP request

Changes against parent 7b7453a9fedc85e52c5b238bb50d1d31d32ee7d0

  patched  libpurple/protocols/jabber/google/relay.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google/relay.c	522265db2791dd887d704f6e698cd42eca7048f5
+++ libpurple/protocols/jabber/google/relay.c	9c274e81dc32d726406c2c2e26e683df01f777ca
@@ -122,6 +122,8 @@ jabber_google_do_relay_request(JabberStr
 {
 	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"


More information about the Commits mailing list