mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Clear the download rate when finishing a torrent.
* Fixed torrent::set_{bind,local}_address(...) so they update
correctly.
* Tweaked the time left display, show minutes instead of seconds.
* Add earlier check on validity of the socket address of
incoming/outgoing connection.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@610 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -158,7 +158,15 @@ apply_max_open_sockets(Control* m, int arg) {
|
||||
|
||||
void
|
||||
apply_bind(Control* m, const std::string& arg) {
|
||||
bool reopenListen = torrent::listen_port();
|
||||
|
||||
if (reopenListen)
|
||||
torrent::listen_close();
|
||||
|
||||
torrent::set_bind_address(arg);
|
||||
|
||||
if (reopenListen)
|
||||
m->core()->listen_open();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user