mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +00:00
* Moved Listen to ConnectionManager and use a single port rather than
cache it in each download. * Set classic locale on various streams. * Added ChunkStatistic class that will keep track of the number of each chunk, and how many seeders there are. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@654 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-1
@@ -37,6 +37,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <torrent/connection_manager.h>
|
||||
|
||||
#include "core/manager.h"
|
||||
#include "display/canvas.h"
|
||||
@@ -129,7 +130,7 @@ Control::cleanup() {
|
||||
void
|
||||
Control::handle_shutdown() {
|
||||
if (!m_shutdownQuick) {
|
||||
torrent::listen_close();
|
||||
torrent::connection_manager()->listen_close();
|
||||
m_core->shutdown(false);
|
||||
|
||||
if (!m_taskShutdown.is_queued())
|
||||
|
||||
Reference in New Issue
Block a user