]> git.sesse.net Git - cubemap/blobdiff - client.h
Add a TODO on Client::serving_hls_playlist.
[cubemap] / client.h
index e3fb26bd895698af8fcca68b36934c827eba7116..1a7f2a46216dd4f48849860cd4bd6ad2ef1c7286 100644 (file)
--- a/client.h
+++ b/client.h
@@ -73,6 +73,9 @@ struct Client {
        Stream *stream = nullptr;
 
        // If true, we don't actually serve the stream, but its HLS playlist.
+       // TODO: Maybe this shouldn't be part of Client, since it's only
+       // really used in communicating once from parse_request() to
+       // process_client(); it's not permanent state (and is not serialized).
        bool serving_hls_playlist = false;
 
        // Whether we should close the connection after sending the response.