]> git.saurik.com Git - apt.git/blobdiff - methods/server.h
enforce LFS for partial files in https range requests
[apt.git] / methods / server.h
index b4870698f205a7307be4ef6fc2f2e2f81070d55e..0f45ab99493de740159715e7d3488cfdc5081512 100644 (file)
 #define APT_SERVER_H
 
 #include <apt-pkg/strutl.h>
+#include <apt-pkg/acquire-method.h>
 
+#include <time.h>
+#include <iostream>
 #include <string>
 
 using std::cout;
@@ -126,7 +129,7 @@ class ServerMethod : public pkgAcqMethod
    static std::string FailFile;
    static int FailFd;
    static time_t FailTime;
-   static void SigTerm(int);
+   static APT_NORETURN void SigTerm(int);
 
    virtual bool Configuration(std::string Message);
    virtual bool Flush() { return Server->Flush(File); };