[rygel] core: HTTP response 416 on seek out-of-bounds
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: HTTP response 416 on seek out-of-bounds
- Date: Fri, 13 May 2011 09:10:01 +0000 (UTC)
commit 1fd393ddcc560d754a6d24f484cf68099dd6352a
Author: Santakivi Topi <Topi Santakivi digia com>
Date: Wed May 11 12:44:58 2011 +0200
core: HTTP response 416 on seek out-of-bounds
src/rygel/rygel-http-get.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-get.vala b/src/rygel/rygel-http-get.vala
index 24e6251..1f2c432 100644
--- a/src/rygel/rygel-http-get.vala
+++ b/src/rygel/rygel-http-get.vala
@@ -145,7 +145,10 @@ internal class Rygel.HTTPGet : HTTPRequest {
this.seek = new HTTPByteSeek (this);
}
} catch (Error error) {
+ this.server.unpause_message (this.msg);
this.end (Soup.KnownStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE);
+
+ return;
}
// Add headers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]