- "Server: " SERVER_IDENTIFICATION "\r\n";
- for (size_t i = 0; i < stream_ids.size(); ++i) {
- servers->set_header(stream_ids[i], header, "");
- }
+ "Server: " SERVER_IDENTIFICATION "\r\n"
+ "Connection: close\r\n";
+}
+
+void UDPInput::add_destination(const string &stream_id)
+{
+ stream_ids.push_back(stream_id);
+ servers->set_header(stream_id, http_header, "");