]> git.sesse.net Git - cubemap/blobdiff - udpinput.cpp
Set Connection: close in outgoing HTTP headers.
[cubemap] / udpinput.cpp
index 8659141b2ed0e11d8be8e93ae1d0b74c3867da86..4222515e71c58366cc372c9faf33ea8a5b6788f4 100644 (file)
@@ -70,7 +70,8 @@ void UDPInput::construct_header()
                "HTTP/1.0 200 OK\r\n"
                "Content-type: application/octet-stream\r\n"
                "Cache-control: no-cache\r\n"
                "HTTP/1.0 200 OK\r\n"
                "Content-type: application/octet-stream\r\n"
                "Cache-control: no-cache\r\n"
-               "Server: " SERVER_IDENTIFICATION "\r\n";
+               "Server: " SERVER_IDENTIFICATION "\r\n"
+               "Connection: close\r\n";
 }
        
 void UDPInput::add_destination(const string &stream_id)
 }
        
 void UDPInput::add_destination(const string &stream_id)