X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;fp=server.h;h=1e6f44a57eb8e7a07382c1e7b473db80f97899aa;hp=cb726c6fb818b7f73ce39ec09b2803215e635df6;hb=24c4b8ed26779f3316a97191c037342561932ed9;hpb=b10d63c534fda113e65e24d252e509e616067ef9 diff --git a/server.h b/server.h index cb726c6..1e6f44a 100644 --- a/server.h +++ b/server.h @@ -158,6 +158,9 @@ private: // Close a given client socket, and clean up after it. void close_client(Client *client); + // Listen for a different set of epoll events. + void change_epoll_events(Client *client, uint32_t events); + // Parse the HTTP request. Returns a HTTP status code (200/204/400/404). int parse_request(Client *client);