merged bootstrap.sh script from RC_0_16
This commit is contained in:
parent
ad8c105a24
commit
fcff3e0e00
|
@ -21,6 +21,7 @@
|
|||
* fix uTP edge case where udp socket buffer fills up
|
||||
* fix nagle implementation in uTP
|
||||
|
||||
* add bootstrap.sh to generage configure script and run configure
|
||||
* fix bug in SOCK5 UDP support
|
||||
* fix issue where torrents added by URL would not be started immediately
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
./autotool.sh
|
||||
./configure $@
|
||||
|
|
@ -319,6 +319,7 @@ namespace libtorrent
|
|||
return m_last_unchoke < rhs.m_last_unchoke;
|
||||
}
|
||||
|
||||
// return true if 'this' peer should be preferred to be unchoke over p
|
||||
bool peer_connection::unchoke_compare(boost::intrusive_ptr<peer_connection const> const& p) const
|
||||
{
|
||||
TORRENT_ASSERT(p);
|
||||
|
@ -401,7 +402,6 @@ namespace libtorrent
|
|||
if (score2 > score1) return false;
|
||||
}
|
||||
|
||||
// if both peers have are still in their send quota or not in their send quota
|
||||
// prioritize the one that has waited the longest to be unchoked
|
||||
return m_last_unchoke < rhs.m_last_unchoke;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue