[rygel] core: Unknown length/duration is "*"
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Unknown length/duration is "*"
- Date: Thu, 1 Oct 2009 22:12:53 +0000 (UTC)
commit b4b2d326e3145b4b28ca528546ca127b4d1ace9a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Oct 2 00:54:12 2009 +0300
core: Unknown length/duration is "*"
Unknown length/duration is specified as "*" in HTTP response. Refer to
DLNA guidelines section 7.4.40.3 for details.
src/rygel/rygel-http-seek.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-seek.vala b/src/rygel/rygel-http-seek.vala
index 58959e4..b0d322a 100644
--- a/src/rygel/rygel-http-seek.vala
+++ b/src/rygel/rygel-http-seek.vala
@@ -175,6 +175,8 @@ internal class Rygel.HTTPSeek : GLib.Object {
if (length > 0) {
value += "/" + length.to_string();
+ } else {
+ value += "/*";
}
msg.response_headers.append (header, value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]