Web: virtual destructor for HttpClient (because of HttpsClient inheritance)

git-svn-id: svn://ultimatepp.org/upp/trunk@4359 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-01-03 11:50:12 +00:00
parent 25f1c5cd69
commit abc06ee3da
2 changed files with 5 additions and 0 deletions

View file

@ -40,6 +40,10 @@ HttpClient::HttpClient(const char *url)
URL(url);
}
HttpClient::~HttpClient()
{
}
HttpClient& HttpClient::URL(const char *u)
{
const char *t = u;

View file

@ -6,6 +6,7 @@ class HttpClient
public:
HttpClient();
HttpClient(const char *url);
virtual ~HttpClient();
HttpClient& TimeoutMsecs(int t) { timeout_msecs = t; return *this; }
HttpClient& MaxHeaderSize(int m) { max_header_size = m; return *this; }