]> git.sesse.net Git - cubemap/blobdiff - server.h
Make backlog_size changeable across HUPs.
[cubemap] / server.h
index 94fdb67e735e996c46f8c0472f570366bd97a556..2d227b6e1797ec331c7a6e966ec412d5f6c7a79b 100644 (file)
--- a/server.h
+++ b/server.h
@@ -53,6 +53,7 @@ public:
        void add_client_from_serialized(const ClientProto &client);
        void add_stream(const std::string &stream_id, size_t bytes_received);
        void add_stream_from_serialized(const StreamProto &stream);
        void add_client_from_serialized(const ClientProto &client);
        void add_stream(const std::string &stream_id, size_t bytes_received);
        void add_stream_from_serialized(const StreamProto &stream);
+       void set_backlog_size(const std::string &stream_id, size_t new_size);
 
 private:
        // Mutex protecting queued_data only. Note that if you want to hold both this
 
 private:
        // Mutex protecting queued_data only. Note that if you want to hold both this