X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/fb3dc57975989a6514577569af9171732b7c5403..6612c86ef3d8f2b8bccc6212791996ab9e053082:/methods/https.h?ds=inline 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