X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=client.h;h=c73810df5e726297e8258c3997df3498fe32e7c7;hp=db1fea51c69ae090f8a1d70db7b75aaf6f31f62d;hb=845934ca50eee40884e8cc85ea81eb310efa5ca3;hpb=a0949bd6af9a604e7073354fc530353bbdb7871c diff --git a/client.h b/client.h index db1fea5..c73810d 100644 --- a/client.h +++ b/client.h @@ -12,7 +12,9 @@ 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; time_t connect_time; size_t bytes_sent; @@ -21,7 +23,6 @@ struct ClientStats { }; struct Client { - Client() {} Client(int sock); // Serialization/deserialization. @@ -49,7 +50,7 @@ struct Client { // What stream we're connecting to; parsed from . // 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,