/soc/2013/ashmew2/filetransferX: 491b0a05a0ea: Modified GET Request

Ashish Gupta ashmew2 at gmail.com
Thu Aug 15 18:41:45 EDT 2013


Changeset: 491b0a05a0eac6341799a276233af4e3b4293323
Author:	 Ashish Gupta <ashmew2 at gmail.com>
Date:	 2013-08-16 04:05 +0530
Branch:	 filetransferX
URL: https://hg.pidgin.im/soc/2013/ashmew2/filetransferX/rev/491b0a05a0ea

Description:

Modified GET Request

diffstat:

 libpurple/protocols/jabber/google/google_session.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (16 lines):

diff --git a/libpurple/protocols/jabber/google/google_session.c b/libpurple/protocols/jabber/google/google_session.c
--- a/libpurple/protocols/jabber/google/google_session.c
+++ b/libpurple/protocols/jabber/google/google_session.c
@@ -1002,11 +1002,7 @@ google_session_handle_candidates(JabberS
 	PurpleUtilFetchUrlData *url_data = NULL;
 	gchar *url = g_strdup_printf("http://%s", temp_ip);
 	gchar *request =
-		g_strdup_printf("Connection: Keep-Alive\r\n"
-				"Content-Length: 0\r\n"
-				"User-Agent: Google Talk\r\n"
-				"\r\n"
-				"GET %s HTTP/1.1\r\n\r\n"
+		g_strdup_printf("GET %s HTTP/1.1"
 				,share_session->source_url);
 
 	JabberGoogleRelayCallbackData *data = g_new0(JabberGoogleRelayCallbackData, 1);



More information about the Commits mailing list