summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2010-09-02 11:15:03 +0100
committerRob Bradford <rob@linux.intel.com>2010-09-02 11:18:16 +0100
commit34aa54db8ab730ce8e5b29f00f169d635181af36 (patch)
treec4b49f8f892a303884a6276929b5109196c2959f
parentf1caab8c5e11963440551ab4098a933d12c21e9f (diff)
downloadlibrest-34aa54db8ab730ce8e5b29f00f169d635181af36.tar.gz
proxy-call: Turn off body buffer accumulation for continuous call
-rw-r--r--rest/rest-proxy-call.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index ca90a1a..4f59633 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -938,6 +938,9 @@ rest_proxy_call_continuous (RestProxyCall *call,
if (message == NULL)
goto error;
+ /* Must turn off accumulation */
+ soup_message_body_set_accumulate (message->response_body, FALSE);
+
closure = g_slice_new0 (RestProxyCallContinuousClosure);
closure->call = g_object_ref (call);
closure->callback = callback;