core: HTTPRequest now uses it's own Cancellable
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 11 Jan 2010 16:55:33 +0000 (18:55 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 11 Jan 2010 16:55:33 +0000 (18:55 +0200)
HTTPRequest now uses it's own Cancellable rather than that of HTTPServer.

src/rygel/rygel-http-request.vala

index b4e91a8..92142a1 100644 (file)
@@ -58,7 +58,7 @@ internal class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
                         Soup.Message              msg,
                         HashTable<string,string>? query) {
         this.http_server = http_server;
-        this.cancellable = http_server.cancellable;
+        this.cancellable = new Cancellable ();
         this.root_container = http_server.root_container;
         this.server = server;
         this.msg = msg;