merged utp fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-09-12 11:28:54 +00:00
parent f2e16c36b3
commit 84fcc0baf0
2 changed files with 7 additions and 1 deletions

View File

@ -24,6 +24,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* uTP performance improvement. only fast retransmit one packet at a time
* improve error message for 'file too short'
* fix piece-picker stat bug when only selecting some files for download
* fix bug in async_add_torrent when settings file_priorities

View File

@ -110,7 +110,12 @@ enum
// the max number of packets to fast-resend per
// selective ack message
sack_resend_limit = 3,
// only re-sending a single packet per sack
// appears to improve performance by making it
// less likely to loose the re-sent packet. Because
// when that happens, we must time-out in order
// to continue, which takes a long time.
sack_resend_limit = 1,
};
// compare if lhs is less than rhs, taking wrapping