X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=udpinput.cpp;h=4222515e71c58366cc372c9faf33ea8a5b6788f4;hp=8659141b2ed0e11d8be8e93ae1d0b74c3867da86;hb=b9f87872a42f32818805f3c2520555f2d6e2928d;hpb=1bc0cd3639cfef1403c74f1d82960df3e8692149 diff --git a/udpinput.cpp b/udpinput.cpp index 8659141..4222515 100644 --- a/udpinput.cpp +++ b/udpinput.cpp @@ -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" - "Server: " SERVER_IDENTIFICATION "\r\n"; + "Server: " SERVER_IDENTIFICATION "\r\n" + "Connection: close\r\n"; } void UDPInput::add_destination(const string &stream_id)