revert NXDOMAIN change from 1.2.4

This commit is contained in:
arvidn 2020-04-07 23:30:29 +02:00 committed by Arvid Norberg
parent b148e9ddc4
commit 11b19ac813
2 changed files with 2 additions and 5 deletions

View File

@ -1,3 +1,4 @@
* revert NXDOMAIN change from 1.2.4
* don't open any listen sockets if listen_interfaces is empty or misconfigured
* fix bug in auto disk cache size logic
* fix issue with outgoing_interfaces setting, where bind() would be called twice

View File

@ -11090,13 +11090,9 @@ bool is_downloading_state(int const st)
if (aep != ae->endpoints.end())
{
// if we can't find the hostname, the tracker is probably
// out of service. Wait a while before trying it again
seconds32 const extra_delay = (ec == boost::asio::error::host_not_found)
? hours(6) : hours(0);
local_endpoint = aep->local_endpoint;
aep->failed(settings().get_int(settings_pack::tracker_backoff)
, std::max(retry_interval, extra_delay));
, retry_interval);
aep->last_error = ec;
aep->message = msg;
fails = aep->fails;