]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/server.h
Use connection keepalive on async responses too
[libs/net.git] / source / http / server.h
index 04c2d06b5cf6d386fa7d3f357036f3efaabba4df..29b2b45a3d4cb95ad35a529139a64834e2e3c657 100644 (file)
@@ -23,6 +23,7 @@ private:
                std::string in_buf;
                Request *request;
                Response *response;
+               bool keepalive;
                bool async;
                bool stale;
 
@@ -46,6 +47,7 @@ public:
 private:
        void data_available();
        void client_data_available(Client &);
+       void send_response(Client &, Response &);
        void client_end_of_file(Client &);
        Client &get_client_by_response(Response &);
 };