/soc/2015/jgeboski/facebook: 37c5e05d7b5d: facebook: prevent HTT...

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 37c5e05d7b5d1b800673a6459374017daebe41aa
Author:	 James Geboski <[email protected]>
Date:	 2015-06-28 15:01 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/37c5e05d7b5d

Description:

facebook: prevent HTTP responses from being truncated

diffstat:

 libpurple/protocols/facebook/api.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/protocols/facebook/api.c b/libpurple/protocols/facebook/api.c
--- a/libpurple/protocols/facebook/api.c
+++ b/libpurple/protocols/facebook/api.c
@@ -398,6 +398,7 @@ fb_api_http_req(FbApi *api, const FbApiH
 	g_free(val);
 
 	req = purple_http_request_new(url);
+	purple_http_request_set_max_len(req, -1);
 	purple_http_request_set_method(req, "POST");
 
 	/* Ensure an old signature is not computed */

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.