X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/30060442025824c491f58887ca7369f3c572fa57..f932bccbf7f8e8c06cb978e9a9b722d1b583c358:/methods/http.h diff --git a/methods/http.h b/methods/http.h index 4d22c88f9..b7341f5f8 100644 --- a/methods/http.h +++ b/methods/http.h @@ -67,7 +67,7 @@ class CircleBuf // Read data in bool Read(int Fd); - bool Read(std::string Data); + bool Read(std::string const &Data); // Write data out bool Write(int Fd); @@ -103,7 +103,7 @@ struct HttpServerState: public ServerState virtual bool WriteResponse(std::string const &Data) APT_OVERRIDE; public: - virtual void Reset() APT_OVERRIDE { ServerState::Reset(); ServerFd = -1; }; + virtual void Reset(bool const Everything = true) APT_OVERRIDE; virtual bool RunData(FileFd * const File) APT_OVERRIDE; virtual bool RunDataToDevNull() APT_OVERRIDE;