#define _HTTPINPUT_H 1
#include <stddef.h>
+#include <sys/types.h>
#include <mutex>
#include <string>
#include <vector>
// The socket we are downloading on (or -1).
int sock = -1;
+ // pid of the cihld process (or -1).
+ pid_t child_pid = -1;
+
// Mutex protecting <stats>.
mutable std::mutex stats_mutex;