diff options
| author | Igor Pstyga <igor.pstyga@gmail.com> | 2024-04-23 21:04:52 -0700 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-08-13 21:09:08 +0000 |
| commit | 4be9b72fbb44e7754337f4957f2c7bfe3cd41891 (patch) | |
| tree | f5ddaf35adeec45d3a31d85f1932dc9b754c4dd7 /test/ruby | |
| parent | 525008cd7879a047e3c310eb63dcef901b23be56 (diff) | |
[ruby/resolv] Fix TCP fallback with multiple nameservers
Under the following conditions the exception
`Resolv::DNS::Requester::RequestError: host/port don't match` is raised:
- Multiple nameservers are configured for Resolv::DNS
- A nameserver falls back from UDP to TCP
- TCP request hits Resolv::DNS timeout
- Resolv::DNS retries the next nameserver
More details here https://bugs.ruby-lang.org/issues/8285
https://github.com/ruby/resolv/commit/7d524df80e
Co-authored-by: Julian Mehnle <julian@mehnle.net>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
