diff --git a/ChangeLog b/ChangeLog index f1cd33cc2..464d2bede 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ + * change default of rate_limit_utp to true * fixed DLL export issue on windows (when building a shared library linking statically against boost) * fixed FreeBSD build * fixed web seed performance issue whith pieces > 1 MiB diff --git a/docs/manual.rst b/docs/manual.rst index 8ab3be667..05775c765 100644 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -5370,7 +5370,7 @@ the connections are TCP. This works best if uTP connections are not rate limited the global rate limiter (which they aren't by default). ``rate_limit_utp`` determines if uTP connections should be throttled by the global rate -limiter or not. By default they are not, since uTP manages its own rate. +limiter or not. By default they are. ``listen_queue_size`` is the value passed in to listen() for the listen socket. It is the number of outstanding incoming connections to queue up while we're not diff --git a/src/session.cpp b/src/session.cpp index 64ed34f35..789d8bfc1 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -1261,7 +1261,7 @@ namespace libtorrent , utp_dynamic_sock_buf(true) , utp_loss_multiplier(50) // specified in percent , mixed_mode_algorithm(peer_proportional) - , rate_limit_utp(false) + , rate_limit_utp(true) , listen_queue_size(5) , announce_double_nat(false) , torrent_connect_boost(10)