summaryrefslogtreecommitdiff
path: root/defaults
diff options
context:
space:
mode:
authorpr0vieh <pr0vieh@gmail.com>2026-01-21 23:46:43 +0100
committerpr0vieh <pr0vieh@gmail.com>2026-01-21 23:46:43 +0100
commit2744918f9fa10885d01fe801f5d4c88da372ef94 (patch)
tree79120dfb32d93c9f3a6b2b5bd9a118d2a2dca1c4 /defaults
parentfa61beff3550850253055393b89aa18d4c5f705d (diff)
Add DNS/network errors (-1) to permanent error status codes
- DNS errors (NXDOMAIN, SERVFAIL, UnknownHostException) now treated as permanent failures - Updated default permanentStatus from '404,410' to '404,410,-1' - Added documentation explaining -1 status code represents DNS/network failures - Updated UI description in IndexFederated_p.html to reflect DNS error handling - Affects both transferURL and transferRWI DHT operations
Diffstat (limited to 'defaults')
-rw-r--r--defaults/yacy.init5
1 files changed, 3 insertions, 2 deletions
diff --git a/defaults/yacy.init b/defaults/yacy.init
index 0d2fc0dc3..810f68614 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -587,8 +587,9 @@ indexReceiveBlockErrors=true
indexReceiveBlockErrors.retryAfterDays=30
# Comma-separated list of HTTP status codes considered permanent errors (always block)
-# Default: 404 (Not Found), 410 (Gone)
-indexReceiveBlockErrors.permanentStatus=404,410
+# -1 = DNS/Network errors (UnknownHost, connection failures)
+# 404 = Not Found, 410 = Gone
+indexReceiveBlockErrors.permanentStatus=404,410,-1
# the frequency is the number of links per minute, that the peer allowes
# _every_ other peer to send to this peer