]> git.sesse.net Git - cubemap/commitdiff
Add a TODO on Client::serving_hls_playlist.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Jul 2018 17:47:26 +0000 (19:47 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Jul 2018 17:47:26 +0000 (19:47 +0200)
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.