mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
* Disconnect incoming connections early if the download is full. Patch
by Josef Drexler, public domain. * Check if bitfield or have messages has been received before when getting a bitfield message. This fixes an exception on PC::using_counter() not begin false. * Added a switch to disable the use of ncursesw, instead using ncurses. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@669 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -258,9 +258,9 @@ Manager::set_bind_address(const std::string& addr) {
|
||||
torrent::connection_manager()->set_bind_address(ai->address()->c_sockaddr());
|
||||
}
|
||||
|
||||
rak::address_info::free_address_info(ai);
|
||||
m_pollManager->get_http_stack()->set_bind_address(!ai->address()->is_address_any() ? ai->address()->address_str() : std::string());
|
||||
|
||||
m_pollManager->get_http_stack()->set_bind_address(addr);
|
||||
rak::address_info::free_address_info(ai);
|
||||
|
||||
} catch (torrent::input_error& e) {
|
||||
rak::address_info::free_address_info(ai);
|
||||
|
||||
Reference in New Issue
Block a user