Menu

#8 Fixes for tracker handling.

open
nobody
None
5
2005-01-26
2005-01-25
No

This patch fixes and enhances the tracker handling of
ctorrent. Specifically:

Don't send a "completed" event if file is already
complete.

Don't send "completed" event more than once.

When ctorrent closes after expiry of seed time or when
signalled with TERM or INT send a "stopped" event.

Discussion

  • Stephen Henson

    Stephen Henson - 2005-01-26

    Logged In: YES
    user_id=1175674

    There's an additional problem. Currently the tracker is only
    contacted when the number of peers is less than the current
    minimum number.

    This can delay the accessing of the tracker for extended
    periods of time and the tracker can assume the client is no
    longer available (not cleanly disonnected).

     
  • Stephen Henson

    Stephen Henson - 2005-01-26
    • status: open --> wont-fix
     
  • Stephen Henson

    Stephen Henson - 2005-01-26
    • status: wont-fix --> open
     
  • Stephen Henson

    Stephen Henson - 2005-01-26

    Tracker handling fix

     
  • Stephen Henson

    Stephen Henson - 2005-02-08

    Logged In: YES
    user_id=1175674

    Additional patch. Check to see if file is completed on startup
    and set m_f_completed so we don't send a completed even
    on an already complete file.

     
  • Stephen Henson

    Stephen Henson - 2005-02-08

    Don't send completed on alrready complete file

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.