* Scheduled tasks, like hash checking, didn't get called when

downloading with curl on epoll unless sockets triggered events.

* Checking whetever we're interested in a peer's pieces wasn't
finished, doh.

* Don't use shorter timeout for "stopped" tracker request, the client
now makes sure it shuts down within 5 seconds.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@577 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-10-07 20:01:38 +00:00
parent 65573ec1ee
commit 881f515d03
17 changed files with 182 additions and 119 deletions
+4 -2
View File
@@ -38,6 +38,8 @@
#include <stdexcept>
#include "input/manager.h"
#include "control.h"
#include "element_string_list.h"
@@ -52,7 +54,7 @@ ElementStringList::activate(Control* c, MItr mItr) {
if (m_window != NULL)
throw std::logic_error("ui::ElementStringList::activate(...) called on an object in the wrong state");
c->get_input().push_front(&m_bindings);
c->input()->push_front(&m_bindings);
*mItr = m_window = new WStringList();
@@ -64,7 +66,7 @@ ElementStringList::disable(Control* c) {
if (m_window == NULL)
throw std::logic_error("ui::ElementStringList::disable(...) called on an object in the wrong state");
c->get_input().erase(&m_bindings);
c->input()->erase(&m_bindings);
delete m_window;
m_window = NULL;