fixed DHT bug where requests that timed out would be treated as transaction_id overflows and would slow down DHT lookups considerably.

This commit is contained in:
Arvid Norberg
2008-09-15 05:05:26 +00:00
parent 027952f69d
commit 166f761df3
2 changed files with 15 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ namespace libtorrent
, max_outstanding_disk_bytes_per_connection(64 * 1024)
, handshake_timeout(10)
#ifndef TORRENT_DISABLE_DHT
, use_dht_as_fallback(true)
, use_dht_as_fallback(false)
#endif
, free_torrent_hashes(true)
, upnp_ignore_nonrouters(true)