mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Added "http_ca{path/cert}" options. Patch by Johan Gunnarsson,
public domain. * Minor bugfixes to SCgi. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@907 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -98,6 +98,12 @@ class CurlStack : std::deque<CurlGet*> {
|
||||
|
||||
const std::string& bind_address() const { return m_bindAddress; }
|
||||
void set_bind_address(const std::string& s) { m_bindAddress = s; }
|
||||
|
||||
const std::string& http_capath() const { return m_httpCaPath; }
|
||||
void set_http_capath(const std::string& s) { m_httpCaPath = s; }
|
||||
|
||||
const std::string& http_cacert() const { return m_httpCaCert; }
|
||||
void set_http_cacert(const std::string& s) { m_httpCaCert = s; }
|
||||
|
||||
static void global_init();
|
||||
static void global_cleanup();
|
||||
@@ -118,6 +124,8 @@ class CurlStack : std::deque<CurlGet*> {
|
||||
std::string m_userAgent;
|
||||
std::string m_httpProxy;
|
||||
std::string m_bindAddress;
|
||||
std::string m_httpCaPath;
|
||||
std::string m_httpCaCert;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user