Rename client_request to request, and clear it when we are done with it.
[cubemap] / server.h
index 271732b55e5a848a232c73fd967cefa4fa26448c..dea24d894e4cf9e5c9ea5ab7d3e96fa77f861a08 100644 (file)
--- a/server.h
+++ b/server.h
@@ -21,9 +21,9 @@ struct Client {
 
        // The HTTP request, as sent by the client. If we are in READING_REQUEST,
        // this might not be finished.
-       std::string client_request;
+       std::string request;
 
-       // What stream we're connecting to; parsed from client_request.
+       // What stream we're connecting to; parsed from <request>.
        // Not relevant for READING_REQUEST.
        std::string stream_id;