X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5085e660679cdbb51783702898c42000d5db4fba..462cfb71b8ebfa4da6b5681cee96931c927ae232:/methods/https.h diff --git a/methods/https.h b/methods/https.h index 3f0c416b6..293e288e0 100644 --- a/methods/https.h +++ b/methods/https.h @@ -8,10 +8,8 @@ ##################################################################### */ /*}}}*/ -#ifndef APT_HTTP_H -#define APT_HTTP_H - -#define MAXLEN 360 +#ifndef APT_HTTPS_H +#define APT_HTTPS_H #include #include @@ -20,7 +18,7 @@ using std::cout; using std::endl; class HttpsMethod; - +class FileFd; class HttpsMethod : public pkgAcqMethod { @@ -43,8 +41,14 @@ class HttpsMethod : public pkgAcqMethod File = 0; curl = curl_easy_init(); }; + + ~HttpsMethod() + { + curl_easy_cleanup(curl); + }; }; +#include URI Proxy; #endif