diff options
Diffstat (limited to 'methods/server.h')
-rw-r--r-- | methods/server.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/methods/server.h b/methods/server.h index 1d114354f..63acceae6 100644 --- a/methods/server.h +++ b/methods/server.h @@ -84,9 +84,7 @@ struct ServerState bool AddPartialFileToHashes(FileFd &File); bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;}; - virtual void Reset() {Major = 0; Minor = 0; Result = 0; Code[0] = '\0'; TotalFileSize = 0; JunkSize = 0; - StartPos = 0; Encoding = Closes; time(&Date); HaveContent = false; - State = Header; Persistent = false; Pipeline = false; MaximumSize = 0; PipelineAllowed = true;}; + virtual void Reset(bool const Everything = true); virtual bool WriteResponse(std::string const &Data) = 0; /** \brief Transfer the data from the socket */ |