[rygel] core: Set 'Connection' header on HTTP GET response



commit ce8c0c38b5a5033c586af537b111096ed37af3ac
Author: Topi Santakivi <topi santakivi digia com>
Date:   Mon May 23 12:23:00 2011 +0300

    core: Set 'Connection' header on HTTP GET response
    
    This satisfies DLNA requirement 7.4.31.2.

 src/rygel/rygel-http-get-handler.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-get-handler.vala b/src/rygel/rygel-http-get-handler.vala
index b77c5dd..243fa7c 100644
--- a/src/rygel/rygel-http-get-handler.vala
+++ b/src/rygel/rygel-http-get-handler.vala
@@ -74,6 +74,8 @@ internal abstract class Rygel.HTTPGetHandler: GLib.Object {
                 request.msg.response_headers.append ("CaptionInfo.sec",
                                                      caption_uri);
         }
+
+        request.msg.response_headers.append ("Connection", "close");
     }
 
     // Create an HTTPResponse object that will render the body.



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