rygel r450 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r450 - trunk/src/rygel
- Date: Sun, 18 Jan 2009 19:27:49 +0000 (UTC)
Author: zeeshanak
Date: Sun Jan 18 19:27:49 2009
New Revision: 450
URL: http://svn.gnome.org/viewvc/rygel?rev=450&view=rev
Log:
InteractiveResponse reports partial replies.
Modified:
trunk/src/rygel/rygel-interactive-response.vala
Modified: trunk/src/rygel/rygel-interactive-response.vala
==============================================================================
--- trunk/src/rygel/rygel-interactive-response.vala (original)
+++ trunk/src/rygel/rygel-interactive-response.vala Sun Jan 18 19:27:49 2009
@@ -39,17 +39,15 @@
string uri,
Seek? seek,
size_t file_length) throws Error {
- base (server, msg, false);
+ base (server, msg, seek != null);
this.seek = seek;
this.length = file_length;
if (seek != null) {
- msg.set_status (Soup.KnownStatusCode.PARTIAL_CONTENT);
this.length = (size_t) seek.length;
} else {
this.length = file_length;
- msg.set_status (Soup.KnownStatusCode.OK);
}
this.buffer = new char[this.length];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]