Show
Ignore:
Timestamp:
07/05/08 08:13:12 (4 years ago)
Author:
rakshasa
Message:

* Fix a slight memory leak in peer exchanges. Patch by Josef Drexler.

* Fixed mix-up in version numbers causing an incompatibility for .so
libraries. Patch by Josef Drexler for ticket #1333.

* Fix excessive HAVE messages being sent after handshake when download
has been active for a while. Patch by Josef Drexler for ticket #1372.

* Make --enable-ipv6 not break DHT on Mac OS X. Patch by Josef Drexler
for ticket #1359.

* Fix crash when contacting tracker. Patch by Josef Drexler for ticket
#1272.

* Fix stopping downloads not working properly. Patch by Josef Drexler
for ticket #1335.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/src/protocol/handshake_manager.cc

    r1058 r1062  
    209209                                                               &download->info()->hash()); 
    210210 
     211    pcb->peer_chunks()->set_have_timer(handshake->initialized_time()); 
     212 
    211213    if (handshake->unread_size() != 0) { 
    212214      if (handshake->unread_size() > PeerConnectionBase::ProtocolRead::buffer_size) 
     
    214216 
    215217      pcb->push_unread(handshake->unread_data(), handshake->unread_size()); 
    216       pcb->peer_chunks()->set_have_timer(handshake->initialized_time()); 
    217  
    218218      pcb->event_read(); 
    219219    }