mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-22 17:16:17 +00:00
Todo etc.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@412 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -30,5 +30,7 @@ Bug: Add the same torrent while it is hash checking.
|
|||||||
|
|
||||||
Bug: Using ^s on a bad torrent does not catch the exception.
|
Bug: Using ^s on a bad torrent does not catch the exception.
|
||||||
|
|
||||||
|
Show torrent creation date?
|
||||||
|
|
||||||
RELEASE:
|
RELEASE:
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -37,6 +37,9 @@ namespace core {
|
|||||||
|
|
||||||
void
|
void
|
||||||
Poll::poll(utils::Timer timeout) {
|
Poll::poll(utils::Timer timeout) {
|
||||||
|
// Do we want to clear m_maxFd in torrent::mark?
|
||||||
|
//m_maxFd = 0;
|
||||||
|
|
||||||
FD_ZERO(m_readSet);
|
FD_ZERO(m_readSet);
|
||||||
FD_ZERO(m_writeSet);
|
FD_ZERO(m_writeSet);
|
||||||
FD_ZERO(m_exceptSet);
|
FD_ZERO(m_exceptSet);
|
||||||
@@ -46,7 +49,7 @@ Poll::poll(utils::Timer timeout) {
|
|||||||
torrent::mark(m_readSet, m_writeSet, m_exceptSet, &m_maxFd);
|
torrent::mark(m_readSet, m_writeSet, m_exceptSet, &m_maxFd);
|
||||||
|
|
||||||
if (m_curlStack.is_busy()) {
|
if (m_curlStack.is_busy()) {
|
||||||
int n;
|
int n = 0;
|
||||||
|
|
||||||
m_curlStack.fdset(m_readSet, m_writeSet, m_exceptSet, &n);
|
m_curlStack.fdset(m_readSet, m_writeSet, m_exceptSet, &n);
|
||||||
m_maxFd = std::max(m_maxFd, n);
|
m_maxFd = std::max(m_maxFd, n);
|
||||||
|
|||||||
Reference in New Issue
Block a user