- "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(int stream_index)
+{
+ stream_indices.push_back(stream_index);
+ servers->set_header(stream_index, http_header, "");