]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix comment and verbose logging for EDNS fallback buffer size.
authorYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Mon, 11 May 2026 18:39:38 +0000 (20:39 +0200)
committerYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Mon, 11 May 2026 18:39:38 +0000 (20:39 +0200)
doc/Changelog
services/outside_network.c
testdata/stat_values.tdir/stat_values.test

index 705013b2038f72e8659de127d475f5e401abb698..1a2d9a64b7b2e4e22ef0dc56569f1f039eabb58b 100644 (file)
@@ -1,3 +1,6 @@
+11 May 2026: Yorgos
+       - Fix comment and verbose logging for EDNS fallback buffer size.
+
 8 May 2026: Wouter
        - Fix to relax assertions after the TTL 0 handling change.
          This relaxes an assertion in cachedb (it fails instead),
index b19d586228070afbbc4de57d8b2e4b3bc9145b1a..be65c6114b276796817fc8ab0b89ca2d86d7900b 100644 (file)
@@ -3351,9 +3351,9 @@ serviced_udp_callback(struct comm_point* c, void* arg, int error,
        if(error == NETEVENT_TIMEOUT) {
                if(sq->status == serviced_query_UDP_EDNS && sq->last_rtt < 5000 &&
                   (serviced_query_udp_size(sq, serviced_query_UDP_EDNS_FRAG) < serviced_query_udp_size(sq, serviced_query_UDP_EDNS))) {
-                       /* fallback to 1480/1280 */
+                       /* fallback to 1472/1232 */
                        sq->status = serviced_query_UDP_EDNS_FRAG;
-                       log_name_addr(VERB_ALGO, "try edns1xx0", sq->qbuf+10,
+                       log_name_addr(VERB_ALGO, "try edns1xx2", sq->qbuf+10,
                                &sq->addr, sq->addrlen);
                        if(!serviced_udp_send(sq, c->buffer)) {
                                serviced_callbacks(sq, NETEVENT_CLOSED, c, rep);
index 9156f95a97160eadda3548db9691bd5c6c78caaa..c02bfcf199648ec7b1b55db4d601e5f7429dbfd9 100644 (file)
@@ -282,7 +282,7 @@ if grep "192.0.2.1" outfile; then
 else
        end 1
 fi
-sleep 1  # make sure the outgoing UDP (and no edns1xx0 retry because not a smaller buffer size) are accounted for.
+sleep 1  # make sure the outgoing UDP (and no edns1xx2 retry because not a smaller buffer size) are accounted for.
 check_stats "\
 total.num.queries=1
 total.num.expired=1