X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=cfb6b2e13680409314ba444f68dc023666d8de31;hp=4ec908b039c86b24db7b8b252d27a71515a71c60;hb=f2e7dbf218365e3f47b942ea999796b2724ccc24;hpb=8fac32c4f3fde7bd2e0305dabe665187a14c1a1b diff --git a/server.h b/server.h index 4ec908b..cfb6b2e 100644 --- a/server.h +++ b/server.h @@ -201,6 +201,10 @@ private: void skip_lost_data(Client *client); void add_client(int sock, Acceptor *acceptor); + + // Mark that a client just went into READING_REQUEST state, so we should + // note the current time of day and then put it into . + void start_client_timeout_timer(Client *client); }; #endif // !defined(_SERVER_H)