]> git.sesse.net Git - cubemap/blobdiff - client.h
Support UDP packets larger than 4 kB.
[cubemap] / client.h
index d511698550f2d4d5af9234f2eb0671600a72da4e..c73810df5e726297e8258c3997df3498fe32e7c7 100644 (file)
--- a/client.h
+++ b/client.h
@@ -12,7 +12,7 @@ struct Stream;
 
 // Digested statistics for writing to logs etc.
 struct ClientStats {
-       std::string stream_id;
+       std::string url;
        int sock;
        int fwmark;
        std::string remote_addr;
@@ -23,7 +23,6 @@ struct ClientStats {
 };
 
 struct Client {
-       Client() {}
        Client(int sock);
 
        // Serialization/deserialization.
@@ -51,7 +50,7 @@ struct Client {
 
        // What stream we're connecting to; parsed from <request>.
        // Not relevant for READING_REQUEST.
-       std::string stream_id;
+       std::string url;
        Stream *stream;
 
        // The header we want to send. This is nominally a copy of Stream::header,