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:
rakshasa
2005-02-25 22:05:15 +00:00
parent f66424f642
commit 9fe97ee490
17 changed files with 220 additions and 21 deletions
+5
View File
@@ -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;