X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5085e660679cdbb51783702898c42000d5db4fba..61843f539513b3e661dac55717e6d7cc0b8f9b0c:/methods/https.h?ds=sidebyside 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