* Renamed read/write stuff to down/up.

* Adding incomplete PeerConnectionSeed.

* For every new peer connection it would traverse the local bitfield
to check if it was zero'ed, instead of using a cached value. Forgot to
change over when changing it from the BitFieldExt to the normal class.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@547 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-08-29 18:39:34 +00:00
parent a28ed1c96b
commit 2a1f3e12cc
10 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -149,12 +149,12 @@ apply_connection_seed(ui::Control* m, const std::string& arg) {
void
apply_global_download_rate(ui::Control* m, int arg) {
torrent::set_read_throttle(arg * 1024);
torrent::set_down_throttle(arg * 1024);
}
void
apply_global_upload_rate(ui::Control* m, int arg) {
torrent::set_write_throttle(arg * 1024);
torrent::set_up_throttle(arg * 1024);
}
void