]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
The entire concept of PendingError() is flawed :/.
[apt.git] / methods / http.h
index 644e576f0646dc02e015d86076ecee77c08c33b9..b7341f5f8671c0f817a4a9db05b12ce949bc4be9 100644 (file)
@@ -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;