rygel r355 - trunk/src/rygel



Author: zeeshanak
Date: Tue Dec 16 14:31:26 2008
New Revision: 355
URL: http://svn.gnome.org/viewvc/rygel?rev=355&view=rev

Log:
Tell libsoup to not accumulate the chunks.

Otherwise the memory usage keeps rising and rising.

Modified:
   trunk/src/rygel/rygel-stream.vala

Modified: trunk/src/rygel/rygel-stream.vala
==============================================================================
--- trunk/src/rygel/rygel-stream.vala	(original)
+++ trunk/src/rygel/rygel-stream.vala	Tue Dec 16 14:31:26 2008
@@ -48,6 +48,8 @@
 
     public void accept () {
         this.msg.set_status (Soup.KnownStatusCode.OK);
+
+        this.msg.response_body.set_accumulate (false);
     }
 
     public void reject () {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]