X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=httpinput.h;h=0c3b5344a5ccecc29341d7c52098cc545722fa65;hb=HEAD;hp=890cc9ef91256b92145e58dcc3425831fa0747fc;hpb=e3f2936e3c9ff3b5569759c1aaed16f03bf728f8;p=cubemap diff --git a/httpinput.h b/httpinput.h index 890cc9e..0c3b534 100644 --- a/httpinput.h +++ b/httpinput.h @@ -2,6 +2,7 @@ #define _HTTPINPUT_H 1 #include +#include #include #include #include @@ -99,6 +100,9 @@ private: // The socket we are downloading on (or -1). int sock = -1; + // pid of the child process (or -1). + pid_t child_pid = -1; + // Mutex protecting . mutable std::mutex stats_mutex;