#include <sys/socket.h>
#include <time.h>
#include <unistd.h>
+#include <math.h>
#include <string>
#include "acceptor.h"
stats.url = url;
stats.bytes_received = 0;
stats.data_bytes_received = 0;
+ stats.metadata_bytes_received = 0;
stats.connect_time = time(NULL);
+ stats.latency_sec = HUGE_VAL;
}
UDPInput::UDPInput(const InputProto &serialized)