Ignore:
Timestamp:
Mar 17, 2011, 12:34:43 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) move tr_dhtUpkeep() out of the announcer module

During shutdown, we can stop DHT almost immediately, but need to leave the announcer running for the DHT tracker event=stopped messages. So it doesn't make sense to keep them on the same periodic timer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-dht.h

    r12096 r12181  
    4444const char *tr_dhtPrintableStatus(int status);
    4545int tr_dhtAddNode( tr_session *, const tr_address *, tr_port, tr_bool bootstrap );
    46 int tr_dhtAnnounce( tr_torrent *, int af, tr_bool announce );
     46void tr_dhtUpkeep( tr_session * );
    4747void tr_dhtCallback(unsigned char *buf, int buflen,
    4848                    struct sockaddr *from, socklen_t fromlen,
Note: See TracChangeset for help on using the changeset viewer.