Ignore:
Timestamp:
Dec 1, 2008, 8:21:06 PM (13 years ago)
Author:
charles
Message:

(libT) #252: revert r7195 (jhujhiti's IPv6 test patch). It seems to be the culprit in a `thrashing' issue reported by Waldorf and m1b in irc -- the behavior appeared between r7183 and r7187 -- so this commit is to trigger off a nightly build w/o the patch to test with in irc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r7195 r7223  
    2222#ifdef WIN32
    2323 #include <winsock2.h> /* struct in_addr */
     24#else
     25 #include <netinet/in.h> /* struct in_addr */
    2426#endif
    2527
    26 #include "net.h"
    27 
     28struct in_addr;
    2829struct tr_handle;
    2930struct tr_peer_stat;
     
    4243typedef struct tr_pex
    4344{
    44     tr_address addr;
    45     uint16_t   port;
    46     uint8_t    flags;
     45    struct in_addr in_addr;
     46    uint16_t    port;
     47    uint8_t     flags;
    4748}
    4849tr_pex;
     
    5455void tr_peerMgrFree( tr_peerMgr * manager );
    5556
    56 int tr_peerMgrPeerIsSeed( const tr_peerMgr  * mgr,
    57                           const uint8_t     * torrentHash,
    58                           const tr_address  * addr );
     57int tr_peerMgrPeerIsSeed( const tr_peerMgr      * mgr,
     58                          const uint8_t         * torrentHash,
     59                          const struct in_addr  * addr );
    5960
    60 void tr_peerMgrAddIncoming( tr_peerMgr * manager,
    61                             tr_address * addr,
    62                             uint16_t     port,
    63                             int          socket );
     61void tr_peerMgrAddIncoming( tr_peerMgr     * manager,
     62                            struct in_addr * addr,
     63                            uint16_t         port,
     64                            int              socket );
    6465
    6566tr_pex * tr_peerMgrCompactToPex( const void    * compact,
Note: See TracChangeset for help on using the changeset viewer.