Arvid Norberg | 5 Jun 2005 11:27
Picon
Picon
Favicon

Re: tracker replacement

MooPolice wrote:
> I have another question/problem.
> 
> First I add a torrent to the session and it is paused. Of course the 
> torrent starts checking/allocationg it's file(s).
> At the same time i probe to resolve the tracker dns('s) and then I set a 
> new tracker list for this torrent.
> But if the torrent is still in the 'checking' state the tracker list 
> seems to be discarded at the end of the check and the original list is 
> used.
> 
> Is this correct or does it only seem like that?

It is not the intended behavior. I can't find anything in the code that 
would have that effect. The m_trackers member in torrent is (as far as I 
can see) only changed in the constructor and in replace_trackers().

Maybe you could try setting a breakpoint when the m_trackers member is 
changed to track down where it happens?

--
Arvid Norberg

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

Gmane