Version: 2.0beta1 (using KDE 3.5.2, Gentoo) Compiler: gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9) OS: Linux (i686) release 2.6.15-gentoo-r1 I am thinking of torrentz.com so doing a search with multiple trackers would help explain and test this idea. 1) Download foobar from tracker 1 2) It starts to download. 3) Download foobar from tracker 2 4) Reports "already downloading" The idea is check to see if it is the same tracker. If not, automatically add it to the tracker list.
Not a bad idea, when I have some more time I will add this.
SVN commit 553667 by guisson: Changes : - Add new socket code (big change) - Merge tracker list when we try to load the same torrent again - Fixed compile error on very recent versions of GCC BUG: 128398 M +5 -4 apps/ktorrent/ktorrent.cpp M +4 -4 apps/ktorrent/trayicon.cpp M +2 -2 apps/ktupnptest/upnptestapp.cpp M +1 -1 ktorrent.kdevelop M +5 -5 libktorrent/Makefile.am M +16 -5 libktorrent/datachecker/multidatachecker.cpp M +1 -1 libktorrent/datachecker/multidatachecker.h M +11 -5 libktorrent/mse/rc4encryptor.cpp M +8 -0 libktorrent/mse/rc4encryptor.h M +81 -40 libktorrent/mse/streamsocket.cpp M +23 -12 libktorrent/mse/streamsocket.h A libktorrent/net (directory) A libktorrent/net/Makefile.am A libktorrent/net/address.cpp [License: GPL (v2+)] A libktorrent/net/address.h [License: GPL (v2+)] A libktorrent/net/bufferedsocket.cpp [License: GPL (v2+)] A libktorrent/net/bufferedsocket.h [License: GPL (v2+)] A libktorrent/net/circularbuffer.cpp [License: GPL (v2+)] A libktorrent/net/circularbuffer.h [License: GPL (v2+)] A libktorrent/net/socket.cpp [License: GPL (v2+)] A libktorrent/net/socket.h [License: GPL (v2+)] A libktorrent/net/socketmonitor.cpp [License: GPL (v2+)] A libktorrent/net/socketmonitor.h [License: GPL (v2+)] M +44 -6 libktorrent/torrent/authenticate.cpp M +3 -1 libktorrent/torrent/authenticate.h M +18 -4 libktorrent/torrent/authenticatebase.cpp M +2 -0 libktorrent/torrent/authenticatebase.h M +2 -0 libktorrent/torrent/cap.cpp M +2 -1 libktorrent/torrent/cap.h M +2 -0 libktorrent/torrent/downloadcap.cpp M +2 -1 libktorrent/torrent/downloadcap.h M +1 -0 libktorrent/torrent/globals.cpp M +0 -2 libktorrent/torrent/globals.h M +1 -1 libktorrent/torrent/ipblocklist.cpp M +3 -1 libktorrent/torrent/multifilecache.cpp M +5 -15 libktorrent/torrent/packet.cpp M +2 -3 libktorrent/torrent/packet.h M +138 -57 libktorrent/torrent/packetreader.cpp M +6 -10 libktorrent/torrent/packetreader.h M +106 -112 libktorrent/torrent/packetwriter.cpp M +4 -12 libktorrent/torrent/packetwriter.h M +44 -60 libktorrent/torrent/peer.cpp M +4 -5 libktorrent/torrent/peer.h M +6 -3 libktorrent/torrent/serverauthenticate.cpp M +0 -5 libktorrent/torrent/torrentcontrol.cpp M +1 -0 libktorrent/torrent/udptrackersocket.cpp M +2 -0 libktorrent/torrent/uploadcap.cpp M +3 -1 libktorrent/torrent/uploadcap.h M +8 -4 libktorrent/util/log.cpp M +3 -0 libktorrent/util/log.h M +2 -2 plugins/logviewer/logviewerplugin.cpp M +10 -10 plugins/scheduler/bwscheduler.cpp M +1 -1 plugins/upnp/upnpprefwidget.cpp