public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Some DNS stub resolver fixes/enhancements
@ 2024-06-14  6:20 Florian Weimer
  2024-06-14  6:20 ` [PATCH 1/4] resolv: Allow short error responses to match any query (bug 31890) Florian Weimer
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Florian Weimer @ 2024-06-14  6:20 UTC (permalink / raw)
  To: libc-alpha

This series started out with a fix for bug 31890, but the new tests
found other bugs.

The “-” option processing in this context is desirable so that it's
possible to override strict-error in /etc/resolv.conf with
RES_OPTIONS=-strict-error on the command line.

I ran the testsuite with the default changed to RES_STRICTERR (in both
places), and there were no new failures, except for the res_init
reporting of the default.

Tested on x86_64-linux-gnu.

Thanks,
Florian

Florian Weimer (4):
  resolv: Allow short error responses to match any query (bug 31890)
  resolv: Do not wait for non-existing second DNS response after error
    (bug 30081)
  resolv: Support clearing option flags with a “-” prefix (bug 14799)
  resolv: Implement strict-error stub resolver option (bug 27929)

 NEWS                                  |  16 +++
 resolv/Makefile                       |   6 ++
 resolv/res_init.c                     |  29 +++---
 resolv/res_send.c                     |  74 +++++++++-----
 resolv/resolv.h                       |   1 +
 resolv/tst-resolv-res_init-skeleton.c |  20 ++++
 resolv/tst-resolv-semi-failure.c      | 142 ++++++++++++++++++++++++++
 resolv/tst-resolv-short-response.c    | 124 ++++++++++++++++++++++
 8 files changed, 375 insertions(+), 37 deletions(-)
 create mode 100644 resolv/tst-resolv-semi-failure.c
 create mode 100644 resolv/tst-resolv-short-response.c


base-commit: 868ab8923a2ec977faafec97ecafac0c3159c1b2
-- 
2.45.2


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-07-02 16:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14  6:20 [PATCH 0/4] Some DNS stub resolver fixes/enhancements Florian Weimer
2024-06-14  6:20 ` [PATCH 1/4] resolv: Allow short error responses to match any query (bug 31890) Florian Weimer
2024-06-14  7:43   ` Florian Weimer
2024-06-14  9:51   ` Sam James
2024-06-14 10:12     ` Florian Weimer
2024-06-20 20:26   ` DJ Delorie
2024-07-01 13:27     ` Florian Weimer
2024-07-01 20:27       ` DJ Delorie
2024-06-14  6:20 ` [PATCH 2/4] resolv: Do not wait for non-existing second DNS response after error (bug 30081) Florian Weimer
2024-06-20  8:37   ` Andreas Schwab
2024-06-20 20:41   ` DJ Delorie
2024-07-02  7:37     ` Florian Weimer
2024-07-02 16:48       ` DJ Delorie
2024-06-14  6:20 ` [PATCH 3/4] resolv: Support clearing option flags with a “-” prefix (bug 14799) Florian Weimer
2024-06-20 21:06   ` DJ Delorie
2024-06-14  6:21 ` [PATCH 4/4] resolv: Implement strict-error stub resolver option (bug 27929) Florian Weimer
2024-06-20 21:24   ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).