]> git.sesse.net Git - cubemap/blobdiff - udpinput.h
Add suppor for raw (non-Metacube) inputs over HTTP. Only really useful for TS.
[cubemap] / udpinput.h
index caff008793842cdce2b601e10ea8c61041ae889e..b3f504aa20255943302a77e5673489fd89ba4831 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _UDPINPUT_H
 #define _UDPINPUT_H 1
 
+#include <pthread.h>
 #include <string>
 #include <vector>
 
@@ -34,7 +35,7 @@ private:
 
        // The URL and its parsed components.
        std::string url;
-       std::string host, port, path;
+       std::string user, host, port, path;
 
        // The HTTP header we're sending to clients.
        std::string http_header;