/soc/2015/jgeboski/facebook: 37c5e05d7b5d: facebook: prevent HTT...
James Geboski
jgeboski at gmail.com
Sun Jun 28 15:14:56 EDT 2015
Changeset: 37c5e05d7b5d1b800673a6459374017daebe41aa
Author: James Geboski <jgeboski at gmail.com>
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 */
More information about the Commits
mailing list