mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
* Moved http get's user agent stuff to the client. It now uses
"rtorrent/CLIENT_VERSION/LIBRARY_VERSION". * Using libcurl's timeout, set to 60 seconds, rather than in TrackerHttp. This should make libcurl try different IP's. * Minor cleanup of how file priorities are updated. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@594 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+4
-2
@@ -61,13 +61,15 @@ class CurlGet : public torrent::Http {
|
||||
void start();
|
||||
void close();
|
||||
|
||||
bool is_busy() { return m_handle; }
|
||||
bool is_busy() { return m_handle; }
|
||||
|
||||
double get_size_done();
|
||||
double get_size_total();
|
||||
|
||||
void set_user_agent(const char* s);
|
||||
|
||||
protected:
|
||||
CURL* handle() { return m_handle; }
|
||||
CURL* handle() { return m_handle; }
|
||||
|
||||
void perform(CURLMsg* msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user