X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=httpinput.h;h=1ee1f8f5c4d134e3066ec65f6923b74effc2489a;hp=890cc9ef91256b92145e58dcc3425831fa0747fc;hb=0229f4414b3b63934c057030deb88cbf6926bb1f;hpb=e3f2936e3c9ff3b5569759c1aaed16f03bf728f8 diff --git a/httpinput.h b/httpinput.h index 890cc9e..1ee1f8f 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 cihld process (or -1). + pid_t child_pid = -1; + // Mutex protecting . mutable std::mutex stats_mutex;