From: Zeeshan Ali (Khattak) Date: Tue, 16 Dec 2008 14:31:26 +0000 (+0000) Subject: Tell libsoup to not accumulate the chunks. X-Git-Tag: RYGEL_0_2~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=437358d529c512fd1f2b31462b6f78a1e0921133;p=profile%2Fivi%2Frygel.git Tell libsoup to not accumulate the chunks. Otherwise the memory usage keeps rising and rising. svn path=/trunk/; revision=355 --- diff --git a/src/rygel/rygel-stream.vala b/src/rygel/rygel-stream.vala index c249526..a801336 100644 --- a/src/rygel/rygel-stream.vala +++ b/src/rygel/rygel-stream.vala @@ -48,6 +48,8 @@ public class Rygel.Stream : GLib.Object { public void accept () { this.msg.set_status (Soup.KnownStatusCode.OK); + + this.msg.response_body.set_accumulate (false); } public void reject () {