Tell libsoup to not accumulate the chunks.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Tue, 16 Dec 2008 14:31:26 +0000 (14:31 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Tue, 16 Dec 2008 14:31:26 +0000 (14:31 +0000)
Otherwise the memory usage keeps rising and rising.

svn path=/trunk/; revision=355

src/rygel/rygel-stream.vala

index c249526..a801336 100644 (file)
@@ -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 () {