Ignore:
Timestamp:
Mar 17, 2011, 6:51:31 PM (10 years ago)
Author:
jordan
Message:

(trunk libT) better shutdown management of libutp and UDP trackers in tr_sessionClose().

This is a little overlapping since the utp code can be closed more-or-less immediately, but the udp manager needs to stay open in order to process the udp tracker connection requests before sending out event=stopped. Moreover DNS resolver can be shut down after the UDP tracker is shutdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.h

    r11844 r12184  
    105105                            int               trackerCount );
    106106
     107/***
     108****
     109***/
     110
     111void tr_tracker_udp_upkeep( tr_session * session );
     112
     113void tr_tracker_udp_close( tr_session * session );
     114
     115tr_bool tr_tracker_udp_is_empty( const tr_session * session );
     116
     117
    107118
    108119#endif /* _TR_ANNOUNCER_H_ */
Note: See TracChangeset for help on using the changeset viewer.