mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 14:42:30 +00:00
Added logging, currently shows failed torrent creations but does not
time out the log messages. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@307 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "hash_queue.h"
|
||||
#include "http_queue.h"
|
||||
#include "poll.h"
|
||||
#include "log.h"
|
||||
|
||||
namespace core {
|
||||
|
||||
@@ -23,6 +24,7 @@ public:
|
||||
HttpQueue& get_http_queue() { return m_httpQueue; }
|
||||
|
||||
Poll& get_poll() { return m_poll; }
|
||||
Log& get_log() { return m_log; }
|
||||
|
||||
void initialize();
|
||||
void cleanup();
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
|
||||
private:
|
||||
void receive_http_done(CurlGet* http);
|
||||
void receive_http_failed(std::string msg);
|
||||
|
||||
void create_file(const std::string& uri);
|
||||
void create_http(const std::string& uri);
|
||||
@@ -50,7 +53,9 @@ private:
|
||||
DownloadStore m_downloadStore;
|
||||
HashQueue m_hashQueue;
|
||||
HttpQueue m_httpQueue;
|
||||
|
||||
Poll m_poll;
|
||||
Log m_log;
|
||||
|
||||
std::string m_dns;
|
||||
int m_portFirst;
|
||||
|
||||
Reference in New Issue
Block a user