]> git.sesse.net Git - cubemap/blobdiff - httpinput.h
Identify UDPInput error messages by the stream, too.
[cubemap] / httpinput.h
index 894d8e946a3235b3a23fb32382f4364b38e2187f..f14b0992ce812778d603c3b36c0accc3921b508e 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef _HTTPINPUT_H
 #define _HTTPINPUT_H 1
 
-#include <vector>
+#include <stddef.h>
 #include <string>
+#include <vector>
 
 #include "input.h"
 
@@ -15,6 +16,8 @@ public:
        // Serialization/deserialization.
        HTTPInput(const InputProto &serialized);
        virtual InputProto serialize() const;
+       
+       virtual void close_socket();
 
        virtual std::string get_url() const { return url; }